Components
Calendar app
A full calendar: day, week, month and agenda, a month picker and calendar toggles, a now line, and events you create by dragging, move by dragging or with Alt and the arrows, and edit in place.
pnpm dlx shadcn@latest add @caliper/calendar-app11–17 October 2026
Each event can be moved with Alt and the arrow keys, and made longer or shorter with Alt, Shift and Up or Down. Enter opens it.
When to use
Use it for
- Scheduling, bookings, team rotas and content calendars.
- Products where people plan their own time.
Skip it when
- Choosing one free slot; use the availability scheduler.
Installation
pnpm dlx shadcn@latest add @caliper/calendar-app
Adds its 18 files to components/ui/, each with its own stylesheet, and installs their packages. No account needed. The first part also adds Caliper UI’s tokens; import them once as in Installation.
Usage
This is the code behind the preview above.
import { useState } from "react" import { CalendarApp, type CalendarAppEvent } from "@/components/ui/calendar-app" const initialEvents: CalendarAppEvent[] = [ { id: "c1", title: "Close stand-up", start: "2026-10-12T09:00", end: "2026-10-12T09:30", calendar: "team" }, { id: "c2", title: "Ostra security review", start: "2026-10-12T11:00", end: "2026-10-12T12:30", calendar: "sales", location: "Meet" }, { id: "c3", title: "Lunch with Inês", start: "2026-10-13T13:00", end: "2026-10-13T14:00", calendar: "personal", location: "Taberna da Rua" }, { id: "c4", title: "Design review", start: "2026-10-13T10:00", end: "2026-10-13T11:00", calendar: "team" }, { id: "c5", title: "Kestrel follow-up", start: "2026-10-13T10:30", end: "2026-10-13T11:15", calendar: "sales" }, { id: "c6", title: "Board pack due", start: "2026-10-14T00:00", end: "2026-10-14T23:59", calendar: "team", allDay: true }, { id: "c7", title: "Focus: Q4 forecast", start: "2026-10-14T14:00", end: "2026-10-14T17:00", calendar: "personal" }, { id: "c8", title: "Northwind workshop", start: "2026-10-15T15:00", end: "2026-10-15T16:30", calendar: "sales", location: "London office" }, { id: "c9", title: "1:1 Tomás", start: "2026-10-16T09:30", end: "2026-10-16T10:00", calendar: "team" }, { id: "c10", title: "Yoga", start: "2026-10-16T18:00", end: "2026-10-16T19:00", calendar: "personal" }, { id: "c11", title: "Month-end close", start: "2026-10-30T00:00", end: "2026-10-30T23:59", calendar: "team", allDay: true }, { id: "c12", title: "Team lunch", start: "2026-10-23T12:30", end: "2026-10-23T14:00", calendar: "team" }, ]; export function CalendarAppDemo() { const [events, setEvents] = useState(initialEvents); // No AppFrame: the calendar is Free, so its example must compile with Free parts only. return ( <CalendarApp events={events} onEventsChange={setEvents} today="2026-10-13" now="2026-10-13T10:42" calendars={[ { id: "team", label: "Team", tone: 1 }, { id: "sales", label: "Sales", tone: 2 }, { id: "personal", label: "Personal", tone: 3 }, ]} /> ); }
API reference
CalendarApp
component
Accessibility
It exposes grid, row, gridcell, status, columnheader and alert semantics, with aria-labelledby, aria-hidden, aria-label, aria-live and aria-describedby kept in step with state. Changes that matter are announced through a live region.
Motion
Transitions use the shared duration and easing tokens. Under prefers-reduced-motion those tokens collapse to instant and travel distances go to zero, so state changes still happen without movement.
Related
- Week calendarA week grid of events that can be selected and moved.
- Media playerAn audio or video player with accessible controls and a progress bar.
- Resource timelinePeople, rooms or machines down the side and time across: bookings in lanes, double bookings flagged, drag to move, resize or create, Alt and the arrows to do the same from the keyboard, and day or week views.