Scheduler
Build calendars and resource timelines with recurrence, dependencies, drag-and-drop, server persistence, and ICS or Excel export.
@composerkit/scheduler provides EventCalendar, EventTimeline, EventTimelinePremium, StandaloneEvent, and the lower-level Scheduler component for scheduling interfaces.
Install it into your app with:
npx shadcn add @composerkit/scheduler --overwrite --yesChoosing a view
| Component | Layout | Key capabilities |
|---|---|---|
EventCalendar | Day, three-day, week, month, agenda, compact, and resource-grouped views | Controlled date and view navigation, drag/resize/external drops, recurring series, search, locale and timezone conversion, week numbers, and hour preferences. |
EventTimeline | Resource rows across hour, day, week, month, or year time scales | Overlapping lane layout, nested collapsible resources, repeated appearances for multi-resource assignments, and virtualized rows and time columns. |
EventTimelinePremium | Extended timeline | Adds finish-to-start, start-to-start, finish-to-finish, and start-to-finish dependencies with lag, cascading updates, read-only cascade rejection, and per-event constraints. |
StandaloneEvent | Draggable external event chip | Drag unscheduled items from a backlog list directly onto a calendar or timeline slot. |
Recurrence and editing
- Supports daily, weekly, monthly, and yearly recurrence rules (
rrule) with exception dates and edit scopes (single occurrence, this-and-following, or full series). - Creating, moving, resizing, or editing events triggers caller callbacks so you can persist changes to your own API or server action.
- Both calendar and timeline share the same accessible event editor dialog for date, time, recurrence, and resource assignments.
Import and export
@composerkit/scheduler ships built-in import/export helpers:
- iCalendar (
.ics): parse and serialize events, recurrence rules, and time zones. - CSV and Excel (
.xlsx): export schedules cleanly through ComposerKit's shared@composerkit/excelwriter (write-excel-file/universal). - Print / PDF: formatted print layout for browser printing or Save as PDF.
Keyboard shortcuts
| Context | Shortcut | Action |
|---|---|---|
| Calendar and timeline | Tab then Space | Focus an event and open the event editor dialog. |
| Timeline | Ctrl+C / Ctrl+V | Copy and paste the selected event. |
| Timeline | Ctrl+Z / Ctrl+Shift+Z | Undo and redo timeline edits. |
Continue to the Scheduler component reference for live demos and generated TypeScript props.
Theming and tokens
Customize ComposerKit colors, nested light and dark scopes, chart palettes, and grid surfaces through one DESIGN.md pipeline.
Date and time pickers
Choose between @composerkit/date-picker and @composerkit/date-time-picker, configure adapters, ranges, validation, and Temporal time zones.