Date Range Calendar
The Date Range Calendar lets the user select a range of dates without any input or popper / modal.
Basic usage
Uncontrolled calendar
Controlled calendar
disabled
readOnly
Customization
Choose the months to render
You can render up to 3 months at the same time using the calendars
prop:
1 calendar
2 calendars
You can choose the position the current month is rendered in using the currentMonthCalendarPosition
prop.
This can be useful when using disableFuture
to render the current month and the month before instead of the current month and the month after.
Custom day rendering
The displayed days are customizable with the Day
component slot.
You can take advantage of the DateRangePickerDay component.
Validation
You can find the documentation in the Validation page.
Localization
You can find the documentation about localization in the Date localization and Component localization.