Date Range Calendar
The Date Range Calendar lets the user select a range of dates without any input or popper / modal.
Basic usage
May 2023
SMTWTFS
June 2023
SMTWTFS
Press Enter to start editing
The value of the component can be uncontrolled or controlled.
Uncontrolled calendar
April 2022
SMTWTFS
May 2022
SMTWTFS
Controlled calendar
April 2022
SMTWTFS
May 2022
SMTWTFS
Press Enter to start editing
disabled
April 2022
SMTWTFS
May 2022
SMTWTFS
readOnly
April 2022
SMTWTFS
May 2022
SMTWTFS
Press Enter to start editing
Customization
Render 1 to 3 months
You can render up to 3 months at the same time using the calendars
prop:
1 calendar
May 2023
SMTWTFS
2 calendars
May 2023
SMTWTFS
June 2023
SMTWTFS
Press Enter to start editing
Custom day rendering
The displayed days are customizable with the Day
component slot.
You can take advantage of the DateRangePickerDay component.
April 2022
SMTWTFS
May 2022
SMTWTFS
Press Enter to start editing
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.