TimePicker
Time selection with hour, minute, and optional second selectors. Supports both 12-hour and 24-hour formats.
Default (24-Hour)
A basic time picker with 24-hour format.
Selected: None
12-Hour Format
Time picker with 12-hour format and AM/PM selector.
Selected: None
With Seconds
Time picker with seconds selector enabled.
Selected: None
15-Minute Intervals
Restrict minute selection to 15-minute intervals.
Selected: None
30-Minute Intervals
Restrict minute selection to 30-minute intervals.
Selected: None
Time Range Constraints
Time picker with minimum and maximum time constraints (9 AM - 5 PM).
Selected: None
In a Form
TimePicker integrated with form fields.
Selected: None
Meeting Schedule
Multiple time pickers for meeting start and end times.
Duration: Select both times
Disabled State
A disabled time picker.
API Reference
Component parameters and their types.
| Prop | Type | Default | Description |
|---|---|---|---|
| SelectedTime | TimeOnly? | — | The currently selected time. |
| Use12Hour | bool | false | When true, uses 12-hour format with AM/PM selector. |
| ShowSeconds | bool | false | When true, shows a seconds selector. |
| MinuteStep | int | 1 | The interval between selectable minute values. |
| MinTime | TimeOnly? | — | The minimum selectable time. |
| MaxTime | TimeOnly? | — | The maximum selectable time. |
| Placeholder | string? | — | Placeholder text shown when no time is selected. |
| Disabled | bool | false | When true, the picker is non-interactive. |
| Class | string? | — | Additional CSS classes appended to the root element. |