Calendar

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

Calendar extends the React Aria Components <Calendar> component.

classNamestring

CalendarHeader

CalendarHeader extends the native <header> element.

classNamestring

CalendarGridHeader

CalendarGridHeader extends the React Aria Components <CalendarGridHeader> component.

SelectMonth

SelectMonth extends the React Aria Components <CalendarMonthPicker> component.

SelectYear

SelectYear extends the React Aria Components <CalendarYearPicker> component.

See the React Aria for the full API reference.