OptionalautoOptionaldefaultOptionaldisabledOptionalformatFormatting 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.
Default value of the input if using as an "uncontrolled" component.
If this prop changes over time, the field will not be updated.