UIIcons

Calendar

A date picker component built on react-day-picker, supporting single date, range, and multiple selection modes.

July 2026

Installation

pnpm dlx stera-ui@latest add calendar

Date Picker

You can use the <Calendar> component to build a date picker. See the Date Picker page for more information.

Examples

Date Range

July 2026

Month/Year Dropdown

July 2026

Pass captionLayout="dropdown" to replace the navigation arrows with month/year select dropdowns.

With Presets

July 2026

Week Numbers

July 2026
27
28
29
30
31

API Reference

Calendar extends all props from react-day-picker.

PropTypeDefault
mode"single" | "range" | "multiple""single"
selectedDate | DateRange | Date[]
onSelect(value) => void
disabledDate[] | Matcher
captionLayout"label" | "dropdown""label"
showWeekNumberbooleanfalse