ProSchedulerSign in

Timeline · Loading events

Recurring events

Team rituals as recurring events on a working-hours timeline. Move one occurrence and choose what it applies to.

Live demo

Drag a standup · Delete a design crit

Fullscreen
import { ProScheduler } from "@andreisaac/pro-scheduler"
import { teamRituals, teamRooms } from "./data/rituals"
import { useEvents } from "./kit"

export function TimelineRecurringDemo() {
  const { events, handlers } = useEvents(() => teamRituals())
  return (
    <ProScheduler
      data={events}
      resources={teamRooms}
      view={{
        timeline: { type: "week", resolutionHorizontal: "hour", startTime: "08:00", endTime: "19:00", startDay: 1, endDay: 5 },
      }}
      styleConfig={{ unitWidthPx: 44, fitToWidth: false }}
      height={420}
      {...handlers}
    />
  )
}

About this demo

Team rituals as recurring events on a working-hours timeline. Move one occurrence and choose what it applies to.

Things to try

  • Drag a standup
  • Delete a design crit

The props behind it are explained in Recurrence, time zones and order.

Use ProScheduler in your project