OptionalariaOptionalautoOptionaldefaultDefault value of the input if using as an "uncontrolled" component.
If this prop changes over time, the field will not be updated.
OptionaldisabledOptionalformatFormatting options for displaying the value.
Values will automatically be formatted using the currently active locale.
OptionalinvalidOptionalleftOptionalplaceholderPlaceholder text that will be displayed while the field has no value.
OptionalrangeOptionalreadOptionalrightOptionalshowWhether to show increment/decrement buttons
OptionalstepInteger step size
OptionalstyleOptionalunitUnit information displayed next to the current value
OptionalvalueCurrent value of the input if using a "controlled" component
If this prop changes over time, the field will be updated.
OptionalonCalled when the input loses focus.
Called with the new input value when the value is changed by the user.
OptionalonCalled when the input receives focus.
Provide an accessible name for screen readers. Use this when the input has no visible label — e.g. a compact font-size field marked only by an icon. A
placeholderalone does not name the input.