Calendar

A date picker component with range and multi-select support.

Usage

API Reference

This component wraps DayPicker (@daypicker/react) with custom styling.

Calendar

A calendar component for date selection.

For the full list of props, see the DayPicker documentation.

Customizing Cell Size

The calendar uses CSS custom properties for cell sizing. By default, the cell size is --spacing(9) on mobile and --spacing(8) on larger screens:

You can customize the cell size by passing a custom className:

Or use responsive values:

Examples

Single Date Selection

Date Range Selection

Use captionLayout="dropdown" with startMonth and endMonth to enable month/year dropdown navigation:

Select Dropdown for Month/Year

Calendar with a custom Select component for month and year navigation:

Combobox Dropdown for Month/Year

Calendar with a searchable Combobox for month and year navigation: