VsudInput

The VsudInput helps you to create different form elements.


Demo

Props Information

NameTypeDefaultDescription
idStringUsed to add id to the VsudInput component.
typeStringUsed to set the type for the VsudInput component.
placeholderStringUsed to set placeholder to VsudInput component.
valueStringUsed to set the value for the VsudInput value attribute.
nameStringUsed to add value to the VsudInput name attribute.
size'sm''md''lg'Change the VsudInput size.
iconstringUsed to set an icon on the VsudInput.
iconDir["left", "right"]noneUsed to set the icon direction to the left or right side of VsudInput
errorboolfalseChange the VsudInput border color to red, its useful when displaying the error messages.
successboolfalseChange the VsudInput border color to green, its useful when displaying the success messages.
isRequiredboolfalseUsed to make the VsudInput required. use it.
HTML5 AttributesYou can also use HTML5 input attributes for theVsudInput.

With Icon

Success/Error

Sizes

HTML5 Inputs