Number
Number input
Last updated
Number input
Last updated
label
String
Text that sits inside of the input and floats above the cursor in the input on focus.
undefined
onBlur
Function
Executes the provided function when the user removes focus from the input.
undefined
onChange
Function
Executes the provided function when the user alters the value of the input.
undefined
onFocus
Function
Executes the provided function when the user focuses into the input.
undefined
tooltip
String
Text that appears when hovering over the input.
undefined
validationError
String
When not ''
or undefined
, outlines the input in red and renders the provided text in red beneath the input.
undefined
value
Number
State value associated with the input.
undefined
max
Number
the html max attribute
undefined
min
Number
the html min attribute
undefined
step
Number
the html step attribute
undefined