Date Select
Select a date and time through seconds.
Usage
Use a timezone-free local ISO value. An empty selection starts at today at midnight, or day one when selecting a month or year first. The consumer owns timezone conversion.
Accessibility
Each native select has a visible label. The group has a legend and supports keyboard and touch selection. Use required to prevent clearing.
| Property | Type | Default |
|---|---|---|
| label | ReactNode | Required |
| labels | Partial<DateSelectLabels> | English |
| value / defaultValue | string | Empty |
| onValueChange | (value: string) => void | None |
| minYear / maxYear | number | 1900 / 2100 |
| required | boolean | false |
| name | string | None |
<DateSelect label="Date and time" defaultValue="2026-11-25T14:30:42" />