Vue Input - Argon

The ArgonInput helps you to create different form elements.


Demo

Props Information

Name Type Default Description
id String Used to add id to the ArgonInput component.
type String text Used to set the type for the ArgonInput component.
placeholder String Used to set placeholder to ArgonInput component.
value String Used to set the value for the ArgonInput value attribute.
name String Used to add value to the ArgonInput name attribute.
size 'default', 'sm''md''lg' default Change the ArgonInput size.
icon string Used to set an icon on the ArgonInput.
iconDir ["left", "right"] none Used to set the icon direction to the left or right side of ArgonInput
error bool false Change the ArgonInput border color to red, its useful when displaying the error messages.
success bool false Change the ArgonInput border color to green, its useful when displaying the success messages.
isRequired bool false Used to make the ArgonInput required. use it.
HTML5 Attributes You can also use HTML5 input attributes for theArgonInput.

With Icon

Success/Error

Sizes

HTML5 Inputs