MiniCalendar
Compact calendar to display a small number of days in a row
Source
Docs
Package
Usage
Number of days
Use numberOfDays
prop to control how many days are displayed at once.
The default value is 7
.
getDayProps
Use getDayProps
to add custom props to days, for example, assign styles to weekends:
Min and max dates
Use minDate
and maxDate
props to limit date selection:
Localization
You can change localization both on component level with locale
prop and
globally with DatesProvider.
Accessibility
Use nextControlProps
and previousControlProps
to add aria-label
and other props to navigation buttons: