Oddmash UI
All components

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.

PropertyTypeDefault
labelReactNodeRequired
labelsPartial<DateSelectLabels>English
value / defaultValuestringEmpty
onValueChange(value: string) => voidNone
minYear / maxYearnumber1900 / 2100
requiredbooleanfalse
namestringNone
<DateSelect label="Date and time" defaultValue="2026-11-25T14:30:42" />

Interactive documentation