Inputs can be customized to show different radius factors. The default shape is rounded:sm. You can change the shape of all inputs by setting the rounded property.
Show codeHide code
Inputs can have different sizes. The default size is md. You can change the size of all inputs by setting the size property.
Show codeHide code
Inputs can have different contrasts. The default contrast is default. You can change the contrast of an input number by setting the contrast property.
Show codeHide code
Inputs can have different contrasts. You can change the contrast of an input number by setting the contrast property.
Show codeHide code
Inputs can have different contrasts. You can change the contrast of an input number by setting the contrast property.
Show codeHide code
Inputs can have a configurable icon on the left side using the icon prop. Make sure to pick meaningful icons for your use case.
You can also change icons for increment and decrement buttons using the icon-decrement and icon-increment props.
Show codeHide code
You can change the step used by the increment and decrement buttons using the step prop, which defaults to 1.
Defining a min and max value will prevent the increment and decrement buttons from going beyond these values but will not prevent the user from typing a value outside of the range.
Show codeHide code
Inputs can be shown in a disabled using the disabled prop.
Show codeHide code
Inputs can be shown in a loading using the loading prop.
Show codeHide code
classesShow exampleHide example
color-focusShow exampleHide example
disabledShow exampleHide example
errorShow exampleHide example
iconShow exampleHide example
icon-decrementShow exampleHide example
icon-incrementShow exampleHide example
idShow exampleHide example
inputmodeShow exampleHide example
labelShow exampleHide example
label-floatShow exampleHide example
loadingShow exampleHide example
maxShow exampleHide example
minShow exampleHide example
placeholderShow exampleHide example
stepShow exampleHide example
typeShow exampleHide example
rounded@since
2.0.0
Show exampleHide example
contrastShow exampleHide example
sizeShow exampleHide example
roundedShow exampleHide example
contrastShow exampleHide example
sizeShow exampleHide example
el