Optional
formatA number format. By default, a format that uses the current locale.
Optional
idAn ID that uniquely identifies a text input.
Optional
isIf true
then element is auto-focusable inside a focus scope.
Optional
isIf true
then formatting is removed when a number is copied or cut.
Optional
isIf true
then hover events are disabled.
Optional
isIf true
then an input is marked as invalid.
Optional
isIf true
then the handler won't allow changing the sign of the edited number.
Optional
isIf true
then formatting is rendered for an undefined
value.
Optional
onA handler that is called when the element loses focus.
Optional
onA handler that is called when an input value is changed.
An input value.
Optional
onA handler that is called when the element receives focus.
Optional
onA handler that is called when the element's focus status changes.
true
if an element is focused.
Optional
onA handler that is called when the element receives focus that must be visible to a user.
Optional
onA handler that is called when the hover state changes.
true
if an element is hovered.
Optional
onA handler that is called when a hover interaction ends.
Optional
onA handler that is called when a hover interaction starts.
The current input value.
Props of the useNumberInput hook.