Input for selecting a single calendar date, with support for segmented input and calendar popover.
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.
Use minDate
and maxDate
to restrict valid input and calendar selection to a specific date range.