RegistryInstall CalendarCN with the shadcn CLI

Reference

Registry items

Every item the shadcn CLI can add, what it adds, and what it pulls in.

Add any of these with npx shadcn@latest add, as in Installation.

ItemWhat it adds
@calendarcn/calendarThe full calendar: toolbar, view switcher and keyboard shortcuts over the day, week, month, year and agenda views.
@calendarcn/calendar-appThe live demo as one block: both sidebars, the header, the views, the ⌘K menu, theme switching, .ics import and export, and the shortcuts. Brings the sample data. See Calendar App.
@calendarcn/calendar-coreTypes, event layout math, CalendarProvider, useCalendar(), useCalendarShortcuts() and the color tokens. Repeat rules in @/lib/recurrence (parseRecurrence, formatRRule, describeRecurrenceRule, expandRecurringEvents, findSeriesOccurrence) and time zones in @/lib/time-zones (getEventTimeZone, changeTimeZoneKeepingWallClock).
@calendarcn/time-gridThe hour grid behind the day and week views, with drag, resize and create.
@calendarcn/day-viewOne day on the time grid.
@calendarcn/week-viewA week, or any number of days, on the time grid.
@calendarcn/month-viewThe month grid, with drag and resize.
@calendarcn/agenda-viewThe coming days' events as a scrolling list, grouped by day.
@calendarcn/year-viewThe year as twelve month grids, with today and the days that have events marked.
@calendarcn/event-detailsEvent chips, the detail panel, the details popover and the right-click menu.
@calendarcn/icsparseIcs() and toIcs(): read and write .ics files from Google Calendar, Apple Calendar and Outlook.
@calendarcn/conference-providersPlaceholder Google Meet, Zoom and Microsoft Teams for the details' Conferencing row, to pass to conferenceProviders. See Conference providers.
@calendarcn/sample-dataThe live demo's events, calendars, contacts, rooms and places, and the docs examples' week of events. See Sample Data.
@calendarcn/calendar-headerThe live demo's header: month and year with the period on screen, view switcher, today, previous/next and panel toggles. Also its parts, for a header of your own.
@calendarcn/command-menuThe live demo's ⌘K menu: today, previous/next and the views, plus your app's panel, theme and .ics commands.
@calendarcn/calendar-toasterNotion Calendar's toasts after a delete, a cut or a copy, with Undo. See Calendar Toaster.
@calendarcn/calendar-settingsNotion Calendar's settings dialog: the calendar view, time format and theme, and each account's calendars.
@calendarcn/people-pickerThe dialog F and P open: search your contacts to meet with someone or show a teammate's calendar. See People Picker.
@calendarcn/calendar-sidebarThe demo's left sidebar: mini calendar, scheduling, "Meet with...", calendar list and theme toggle, inline or as an overlay.
@calendarcn/mini-calendarThe sidebar's month picker, with week numbers and the visible days highlighted.
@calendarcn/calendar-listThe calendars grouped by account, each with a show and hide button.
@calendarcn/theme-toggleA button that cycles system, light and dark, with the next-themes provider.
@calendarcn/details-sidebarThe demo's right context panel: the selected event's details, event search and useful shortcuts.
@calendarcn/sidebar-overlayA sidebar as a modal sheet on narrow screens, and the sidebars' color tokens.

Each item pulls in the ones it builds on, so calendar installs all of them except day-view and week-view, which it doesn't need (it renders the time grid directly), ics, which you add to import or export .ics files, conference-providers and sample-data, which you add to try the calendar with the live demo's services and data, and command-menu, people-picker, calendar-toaster, calendar-settings and the sidebars, which you add around it. calendar-sidebar installs the mini calendar, calendar list, theme toggle and sidebar overlay. calendar-app installs everything the live demo uses, ics, conference-providers, sample-data, command-menu, people-picker, calendar-toaster, calendar-settings and both sidebars included.