Skip to content
Skip to Content
ComposerKit
Components

Scheduler

Calendars and virtualized resource timelines with recurrence rules, dependencies, drag-and-drop editing, and ICS, CSV, or Excel export.

@composerkit/scheduler exports EventCalendar, EventTimeline, EventTimelinePremium, StandaloneEvent, and Scheduler with recurring events, nested resources, finish/start dependencies with lag, keyboard editing, and iCalendar (.ics) import/export.

For view selection, recurrence rules, keyboard shortcuts, and export workflows, read the Scheduler guide.

Loading the component gallery…

Install

shadcn registry

Set up once
npx shadcn@latest init --defaults --yesnpx shadcn registry add '@composerkit=https://composerkit.dynd.ai/r/{name}.json'
scheduler
npx shadcn add https://composerkit.dynd.ai/r/scheduler.json --overwrite
components.json
{+{+  "registries": {+    "@composerkit": "https://composerkit.dynd.ai/r/{name}.json"+  }+}}

Import

import { EventCalendar } from "@/components/scheduler/event-calendar";

Demo code

scheduler-examples.tsx
"use client";import { EventCalendar } from "composerkit/components/scheduler/event-calendar";import type {  SchedulerEvent,  SchedulerResource,} from "composerkit/components/scheduler/types";import { useState } from "react";import { AppearanceControl } from "@/components/appearance-control";const BASE_DATE = new Date(Date.UTC(2026, 2, 16, 9, 0));const RESOURCES: SchedulerResource[] = [  { id: "design", title: "Design" },  { id: "engineering", title: "Engineering" },];const INITIAL_EVENTS: SchedulerEvent[] = [  {    end: new Date(Date.UTC(2026, 2, 16, 11, 0)),    id: "evt-1",    resourceIds: ["design"],    start: new Date(Date.UTC(2026, 2, 16, 9, 30)),    title: "Token audit",  },  {    end: new Date(Date.UTC(2026, 2, 17, 15, 0)),    id: "evt-2",    resourceIds: ["engineering"],    start: new Date(Date.UTC(2026, 2, 17, 13, 0)),    title: "Grid harness review",  },  {    end: new Date(Date.UTC(2026, 2, 18, 12, 0)),    id: "evt-3",    resourceIds: ["engineering"],    start: new Date(Date.UTC(2026, 2, 18, 10, 0)),    title: "Registry build verification",  },];export const SchedulerGalleryExample = () => {  const [events, setEvents] = useState<SchedulerEvent[]>(INITIAL_EVENTS);  return (    <main className="gallery">      <header className="flex flex-wrap items-center justify-between gap-4">        <div>          <h1>Scheduler</h1>          <p className="text-sm text-muted-foreground">            Interactive event calendar and resource timeline with recurrence,            drag-and-drop editing, and iCalendar import/export.          </p>        </div>        <AppearanceControl id="scheduler-gallery-appearance" />      </header>      <section>        <h2>Event calendar</h2>        <EventCalendar          defaultVisibleDate={BASE_DATE}          defaultView="week"          events={events}          onEventsChange={setEvents}          resources={RESOURCES}          timeZone="UTC"        />      </section>    </main>  );};

Props

EventCalendarProps

Prop

Type

EventTimelineProps

Prop

Type

SchedulerProps

Prop

Type