Date and time

Range Calendar

A dual-date selection component that allows users to pick a date range, commonly used for booking and scheduling. It supports selecting start and end dates.

Basic

A range calendar displays one or more date grids and allows users to select a range of dates.

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.

This component comes packed with several components to enhance functionality and provide a seamless experience.

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

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...

Examples

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

Unlock the full power of
Design Intent UI

Build modern web apps faster with 1000+ resources across components, blocks, patterns, templates, and starter kits.

Learn more