DatePicker

Input for selecting a single calendar date, with support for segmented input and calendar popover.

PropTypeDefault
valueDate | undefined
onChange(date: Date | undefined) => void
disabledboolean | undefinedfalse
minDateDate | undefined
maxDateDate | undefined
calendarPopoverAlign"start" | "center" | "end" | undefined"start"

This DatePicker uses a segmented input (YYYY-MM-DD) for keyboard entry and opens a calendar popover for selection via the calendar icon button. When a date is selected or typed completely, onChange is called with a valid Date object.

The component can be disabled to prevent both typing and calendar interactions.

Use minDate and maxDate to restrict valid input and calendar selection to a specific date range.

Exposes an imperative API to focus specific segments of the input: