Time Picker
Segmented time inputs powered by reka-ui. Each segment (hour, minute, second) is keyboard navigable with arrow keys and accepts numeric input. Default format is 24-hour.
TimePicker - Basic
13:30:00—TimePicker - Granularity
Use granularity to control which segments render. Defaults to minute.
09:00:0013:30:0014:25:30TimePicker - Hour Cycle
Default hourCycle is 24. Set to 12 for AM/PM.
TimePicker - Step
Use step to set increment values per segment when using arrow keys.
TimePicker - Constraints
minValue / maxValue mark out-of-range times as invalid.
TimePicker - Clearable
Pass clearable to render an X button on the right when the value is set. Clicking it sets the value to undefined.
11:45:00TimeRangePicker - Basic
09:00:00 → 17:00:00— → —TimeRangePicker - Step & Constraints
TimeRangePicker - Granularity
TimeRangePicker - Clearable
clearable resets both start and end to undefined in one click.
09:00:00 → 17:00:00TimeRangePicker - Range Validation
Reka-ui auto-validates that start ≤ end. Invalid ranges trigger destructive border via data-invalid. To extend with custom rules (e.g., disallow lunch break), pass is-time-unavailable.
Keyboard shortcuts
- Tab — move to next segment
- Shift + Tab — move to previous segment
- ↑ / ↓ — increment / decrement segment
- 0-9 — type number directly
- A / P — toggle AM/PM (12-hour mode only)