Range Calendar

Loading...

Installation

Install the component via the CLI in one command.

npx shadcn@latest add @intentui/range-calendar

Composed components

When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.

Manual installation

Use this approach if you prefer to install and wire up the component yourself instead of using the CLI.

npm install react-aria-components @heroicons/react tailwind-merge

Examples

Controlled

The range calender can be controlled by passing the value prop.

Loading...

Uncontrolled

The range calendar can be uncontrolled by passing the defaultValue prop.

Loading...

You can see the calendar in action within the Date Picker and Date Range Picker documentation.

Component API

RangeCalendar

The RangeCalendar component lets users select a date range.

PropTypeDefault
classNamestring-
visibleDurationRangeCalendarProps<T>["visibleDuration"]{ months: 1 }

See the React Aria for the full API reference.