Date Picker
Chooses a day or a range. Ranges are the default for comparing a fleet across time.
January 2025
:
January 2025
:
Playground
January 2025
:
Variants and states
| Property | Options | Notes |
|---|---|---|
| kind | day & time, date, time | Day & time is the month plus the time dropdowns. Date is the month only. Time is the dropdowns only. |
| month | previous, next | Secondary buttons move the month. |
| time | hour, minute, meridiem | Each value is a dropdown. |
Anatomy
- Month
- Secondary buttons move the month. The label is the month and year.
- Days
- The days of the month, packed seven across.
- Time
- Hour, minute, and meridiem dropdowns.
Accessibility
- The trigger names the current value.
- The calendar is keyboard operable.