VsudInput
The VsudInput
helps you to create different form elements.
Demo
Props Information
Name | Type | Default | Description |
---|---|---|---|
id | String | Used to add id to the VsudInput component. | |
type | String | Used to set the type for the VsudInput component. | |
placeholder | String | Used to set placeholder to VsudInput component. | |
value | String | Used to set the value for the VsudInput value attribute. | |
name | String | Used to add value to the VsudInput name attribute. | |
size | 'sm''md''lg' | Change the VsudInput size. | |
icon | string | Used to set an icon on the VsudInput . | |
iconDir | ["left", "right"] | none | Used to set the icon direction to the left or right side of VsudInput |
error | bool | false | Change the VsudInput border color to red, its useful when displaying the error messages. |
success | bool | false | Change the VsudInput border color to green, its useful when displaying the success messages. |
isRequired | bool | false | Used to make the VsudInput required. use it. |
HTML5 Attributes | You can also use HTML5 input attributes for theVsudInput . |