Calendar

A date picker grid built on react-day-picker. Supports single, multiple, and range selection, with built-in month and year dropdowns and previous/next navigation.

Single Date

Use mode="single" for picking one date.

Range Selection

Use mode="range" to pick a start and end date. Pass numberOfMonths={2} to display two months side by side.

Installation

Props

Forwards all react-day-picker props in addition to the ones below.

PropTypeDefaultDescription
mode
"single" | "multiple" | "range""single"Selection mode.
selected
Date | Date[] | DateRangeCurrently selected date(s).
onSelect
(date) => voidCalled when a date is selected.
showOutsideDays
booleantrueShow leading/trailing days from adjacent months.
disabled
boolean | MatcherDisable the calendar entirely or match specific dates.