OptionalformatThe number format to use.
By default, a format based on the current locale is used.
OptionalidAn ID that uniquely identifies the text input.
OptionalisIf true, the element is auto-focusable within a focus scope.
OptionalisIf true, formatting is removed when a number is copied or cut.
OptionalisIf true, hover interactions are disabled.
OptionalisIf true, the input is marked as invalid.
OptionalisIf true, the handler prevents changing the sign of the edited number.
OptionalisIf true, formatting is rendered for an undefined value.
OptionalonA handler that is called when the element loses focus.
OptionalonA callback invoked when the input value changes.
The new input value.
OptionalonA handler that is called when the element receives focus.
OptionalonA handler that is called when the element's focus state changes.
true if the element is focused.
OptionalonA handler that is called when the element receives focus and focus should be visible.
OptionalonA handler that is called when the hover state changes.
true if the element is hovered.
OptionalonA handler that is called when a hover interaction ends.
OptionalonA handler that is called when a hover interaction starts.
The current input value.
Props for the useNumberInput hook.