NumberStepper
+/− numeric input with keyboard support.
Loading…
+/− numeric input with keyboard support.
Loading…
Precise numeric input with +/- buttons — width, height, counts.
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | — | Current value. |
| onValueChange | (value: number) => void | — | Change handler. |
| min | number | 0 | Minimum. |
| max | number | 100 | Maximum. |
| step | number | 1 | Step. |
| label | string | — | Field label. |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):