ProSchedulerSign in

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.

Need the exact shape?

Every prop, view option and callback in one place.

Open API reference