Numeric Stepper Input
A production-scale, light + dark Numeric Stepper Input component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add numeric-stepper-inputUsage
import { NumericStepperInput } from "@lerpa/ui";
<NumericStepperInput />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | |
| min | number | — | |
| max | number | — | |
| step | number | — | |
| defaultValue | number | — | |
| unit | string | — | |
| accent | string | — | |
| onChange | (n: number) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.