Time Picker
A production-scale, light + dark Time Picker component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add time-pickerLive preview available in the gallery.
Usage
import { TimePicker } from "@lerpa/ui";
<TimePicker />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | |
| onChange | (value: string) => void | — | |
| mode | '12h' | '24h' | — | |
| step | number | — | |
| className | string | — | |
| ariaLabel | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.