Date Picker

Popover-anchored calendar with single-date and range variants. Wraps Calendar + Popover — the trigger is a Button that formats the selection with Intl DateFormatter.

Custom

Single

Range

Disabled

Date of Birth Picker

Popover-anchored calendar with month + year dropdowns. The caption layout lets users reach a birth year in two clicks instead of navigating month by month.

Picker with Input

A text field accepts ISO dates (YYYY-MM-DD) and stays in sync with the calendar popover. Clicking a day backfills the input; typing a valid date jumps the calendar.

Date and Time Picker

A popover-anchored calendar paired with a time input. Date and time values remain independent — combine them at submit time.

Time

Natural Language Picker

A text input parses phrases like today, tomorrow, in 3 days and reflects the result in a calendar popover. The regex parser here demonstrates the pattern — swap for chrono-node in production.

DatePicker props

DateRangePicker shares the same shape; its `value` is a start/end object.

PropTypeDescription
DateValue | undefined (bindable)Currently selected date. Two-way bindable.
boolean (bindable)Whether the popover is open.
stringTrigger label when no value is selected.
booleanDisables the trigger button.
stringBCP 47 locale used to format the selected date via Intl.DateFormatter.
stringPassed to the trigger Button for width or font overrides.
stringPassed to the Popover.Content wrapping the calendar.