Copies
9
Copies
9
Installation
bash
npx shadcn@latest add https://ui.noicess.fun/r/number-stepper.jsonProps
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | - | Text shown beside the control. |
| value | number | - | Controlled current value. |
| onChange | (value: number) => void | - | Called with the clamped next value. |
| min / max | number | 0 / 99 | Bounds the value and disables the end buttons. |
| step | number | 1 | Amount added or removed per press. |