Number Input

Buttons

Numeric stepper with animated +/- buttons, spring scale on press, configurable min/max/step, three sizes, and disabled state.

Loading preview...
Customize
Size:
Min
0
Max
100
Step
1
Disabled

Props

PropTypeDefaultDescription
valuenumberCurrent numeric value.
onChange(value: number) => voidCallback when value changes.
minnumber-InfinityMinimum allowed value.
maxnumberInfinityMaximum allowed value.
stepnumber1Increment/decrement step.
size'sm' | 'md' | 'lg''md'Input size.
disabledbooleanfalseDisable the input.
classNamestring''Additional CSS classes.