Number Input
Input of single numbers pleasant to the user and practical.
Default
If you need to add a component that handles a single number, use the component vs-input-number
. You can also change the increment and decrement button icons using the properties icon-inc
and icon-dec
respectively.
Color
You can change the color of the Input-Number with the property color
. You are able to use the Main Colors or RGB and HEX colors.
WARNING
Only RGB and HEX colors are supported.
Min - Max
You can restrict the maximum number or the minimum with the properties vs-min
, vs-max
.
Size
To change the size of the component, you can use the property vs-size
. The allowed values are: medium
, small
, and mini
.
Step
To change the number to be added or decreased of the component, you can use the property step
.
Decimal
Number Input also supports decimal values.
Label
Number Input supports adding labels for number inputs.