Date and time

Calendar

A date-based UI component that enables users to view and select dates, supporting scheduling and event tracking. It provides an intuitive calendar interface.

Loading...

Installation

Install the component via the CLI in one command.

npx shadcn@latest add @intentui/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

Check out the calendar in action in the Date Picker and Date Range Picker documentation.

Component API

Calendar

The Calendar component displays a single-date calendar.

PropTypeDefault
classNamestring-

CalendarHeader

The CalendarHeader component contains calendar navigation controls.

PropTypeDefault
classNamestring-

CalendarGridHeader

The CalendarGridHeader component renders the weekday row.

SelectMonth

The SelectMonth component renders the month selector in the calendar header.

SelectYear

The SelectYear component renders the year selector in the calendar header.

See the React Aria for the full API reference.

Unlock the full power of
Intent UI Design

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

Learn more