Stepper
A control that increases or decreases a number.
tsx
import { Stepper } from '@satinhq/kit'Example
Set the range
Use min and max to bound the value. At a limit, the corresponding button becomes disabled.
Choose the increment
step defaults to 1. Use a different positive step for the unit your field needs.
API
Scroll horizontally to read every column.
| Prop | Type | Description |
|---|---|---|
label | string | The visible label. |
value | number | The current value. |
onChange | (value: number) => void | Receives changes. |
min / max | number | Optional limits. |
step | number | The increment, 1 by default. |
Related: Quick start, List, Screen.
:::