Back to DatePicker
DatePicker

Date range

Pick a start and end date across two months.

API

PropTypeDefaultDescription
mode"single" | "range"singleSelection mode.
value / defaultValueDate | null | DateRange | nullControlled / uncontrolled selection (shape depends on `mode`).
onValueChange(value) => voidFires on selection change.
minDate / maxDateDateInclusive bounds; dates outside are disabled.
disabledDatesDate[]Specific dates to disable, e.g. holidays.
numberOfMonthsnumber1 (2 for range)Months rendered side by side.
clearablebooleantrueShows a Clear action once a value is set.
dateFormatstringPPPIntl.DateTimeFormat options or preset for the trigger label.
View full API on DatePicker

More DatePicker examples