Calendar

A month grid for picking a day or a range of days.

View as Markdown
June 2026

Installation

Usage

Mode

Use mode="single" for one day, "multiple" for several, or "range" for a start and an end. Each takes selected and onSelect.

Range

Set mode="range" and numberOfMonths={2} to pick a span across two months. The ends are solid and the days between sit in a band.

June 2026
July 2026

Time Zone

Pass timeZone to read days in a zone other than the browser's, such as "UTC". Days are then that zone's, whatever the viewer's clock says.

Disabled

Pass disabled a matcher, such as { after: today }, to block days. Use startMonth and endMonth to stop the arrows at a month.

API Reference

Calendar is react-day-picker's DayPicker in Constella's look, and every DayPicker prop passes through. It adds sx, applied to the root. showOutsideDays defaults to false.