Skip to Content

NumberInput

The NumberInput component is used for numeric input with validation. It extends the Input component.

Playground

Props

Props

The NumberInput accepts all props from the Input component, plus:

PropTypeDefaultDescription
decimalsnumber0Number of decimal places allowed.
maxnumber-Maximum value.
minnumber-Minimum value.
stepnumber1Step increment.

See also

Last updated on