Select specific days using the React Calendar component. The example below shows basic usage.
Set the selectionType
to week
to enable selection of entire week. You can also add showWeekNumber
to show week numbers.
Set the selectionType
property to month
to enable selection of entire months.
Set the selectionType
property to year
to enable years range selection.
Display multiple calendar panels side by side by setting the calendars
property. This can be useful for selecting ranges or comparing dates across different months.
Enable range selection to allow users to pick a start and end date. This example shows how to configure the React Calendar component to handle date ranges.