ProSchedulerSign in

Timeline · Setting up

Month view

People down the side, the month across the top, multi-day assignments as bars you can drag between rows, stretch, or draw.

Live demo

Drag a bar to another person · Stretch one from its right edge · Draw across an empty row

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

export function MonthTimelineDemo() {
  const { events, handlers } = useEvents(studioAssignments)

  return (
    <ProScheduler
      data={events}
      resources={studioResources}
      view={{ timeline: { type: "month" } }}
      height={560}
      {...handlers}
    />
  )
}

About this demo

People down the side, the month across the top, multi-day assignments as bars you can drag between rows, stretch, or draw.

Things to try

  • Drag a bar to another person
  • Stretch one from its right edge
  • Draw across an empty row

The props behind it are explained in Views.

Use ProScheduler in your project