ProSchedulerSign in

Scheduler · Setting up

Day view

One day as a vertical time grid, 07:00 to 20:00 in half-hour cells. Overlapping bookings sit side by side, and the header pages a day at a time.

Live demo

Page to tomorrow · Drag an event down an hour · Draw a new booking on empty space

Fullscreen
import { ProScheduler } from "@andreisaac/pro-scheduler"
import { studioResources, studioSessions } from "./data/studio"
import { useEvents } from "./kit"

export function DayViewDemo() {
  const { events, handlers } = useEvents(studioSessions)

  return (
    <ProScheduler
      data={events}
      resources={studioResources}
      view={{ scheduler: { type: "day", startTime: "07:00", endTime: "20:00", timeCellStep: 30 } }}
      height={620}
      {...handlers}
    />
  )
}

About this demo

One day as a vertical time grid, 07:00 to 20:00 in half-hour cells. Overlapping bookings sit side by side, and the header pages a day at a time.

Things to try

  • Page to tomorrow
  • Drag an event down an hour
  • Draw a new booking on empty space

The props behind it are explained in Views.

Use ProScheduler in your project