Skip to content

Installation

Pick one. Both give you the same component.

Terminal window
npm install resource-scheduler

Then import the stylesheet once, anywhere in your app:

import "resource-scheduler/dist/resource-scheduler.css";
  • React 18 or 19 (react and react-dom are peer dependencies).
  • No Tailwind setup needed. The stylesheet is precompiled.
  • Use npm if you want updates with npm update.
import { ResourceScheduler } from "resource-scheduler";
export function Board() {
return (
<div style={{ height: 480 }}>
<ResourceScheduler resources={[{ id: "1", name: "Ann", events: [] }]} />
</div>
);
}

The component fills its parent, so give the parent a height.

The bundle starts with "use client", so you can import it from a server file. See Next.js and SSR.