Get started
Scheduling views your product can grow into.
ProScheduler renders a resource timeline, a day and week time grid, an agenda and a month calendar from one controlled component. You own the events; it owns the interaction.
01
Your first scheduler
Hand it events and a view. It fires a callback for every change a user makes; you apply the change and it re-renders.
"use client"
import { useState } from "react"
import { ProScheduler, type SchedulerEvent } from "@andreisaac/pro-scheduler"
export function Bookings({ initial }: { initial: SchedulerEvent[] }) {
const [events, setEvents] = useState(initial)
return (
<ProScheduler
data={events}
view={{ scheduler: { type: "week", startTime: "08:00", endTime: "18:00" } }}
onEventCreated={(event) => setEvents((list) => [...list, event])}
onEventUpdated={(event) =>
setEvents((list) => list.map((e) => (e.id === event.id ? event : e)))
}
onEventDeleted={(event) =>
setEvents((list) => list.filter((e) => e.id !== event.id))
}
/>
)
}Installation and setup 02
Feature topics
Start with the screen you are building. Each guide has a live demo with its source.
Views
Resource timeline, time grid, agenda and month calendar — alone, switchable, or calendar with agenda.
Read guideDrag, resize & create
Move between days and people, stretch either edge, draw new events — with a veto before each change.
Read guideCustom rendering
Your own event content, resource cells and header, composed from the same building blocks the default uses.
Read guideNeed the exact shape?