A free, MIT-licensed resource timeline for React. Drag, resize, conflict rules, slot selection, keyboard and screen reader support. Install from npm or copy the source with the shadcn CLI.
翻譯準備中
開發工具TypeScript · JavaScriptGitHub @mdobaid311上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Free MIT resource timeline for React: drag, resize, no double booking. Install from npm or copy the source with shadcn.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗In most calendar libraries the resource timeline is a paid tier. Here it is free, and complete:
| Resource timeline | Cost |
|---|---|
| Resource Scheduler | Free, MIT. Drag, resize, conflict rules, slot selection and keyboard support all included |
| FullCalendar | Premium add-on, from $480 per developer |
| MUI X Scheduler | The Event Timeline is Premium |
| DayPilot Lite | Free, but resource hierarchy, keyboard navigation and overlap prevention are Pro only (Pro from $649) |
| react-big-scheduler | Free, MIT, has a resource view; no commits since March 2023 and about 170 open issues and pull requests |
Prices checked October 2026; see the full comparison the step-by-step tutorial, the room booking tutorial, the shift planner tutorial, the clinic appointment board tutorial, the equipment rental tutorial, or the Next.js and Prisma tutorial. It is also younger than they are: rows and columns are virtualized and benchmarked up to 2,500 resources and 50,000 events, but for timelines far beyond that pick a heavier tool.
eventOverlap and isValidDrop, a red footprint before you drop, and the same check available for your serveronSlotSelect hands you the range instead of a hard-coded "New Event"--rs-* CSS variables, dark mode, and styles that never touch the rest of your appresource-scheduler/headless is the layout, lanes, recurrence, rules and date math as plain functions (no React, no CSS, server-safe), to build your own UInpm install resource-scheduler
# or
yarn add resource-scheduler
# or
pnpm add resource-scheduler
Or copy the source into your project with the shadcn CLI (Tailwind v4):
npx shadcn@latest add mdobaid311/resource-scheduler/resource-scheduler
import { ResourceScheduler, ViewType } from 'resource-scheduler';
import "resource-scheduler/dist/resource-scheduler.css"
import { useState } from 'react';
function App() {
const [resources, setResources] = useState([
{
id: "1",
name: "John Doe",
role: "Developer",
events: [
{
id: "e1",
startDate: new Date("2025-09-10T10:00:00"),
endDate: new Date("2025-09-10T12:00:00"),
title: "Team Meeting",
color: "#3b82f6",
description: "Weekly sync"
},
],
},
]);
const handleEventCreate = (eventData, resourceId) => {
const newEvent = {
...eventData,
id: `event-${Date.now()}`,
};
setResources(prev =>
prev.map(resource =>
resource.id === resourceId
? { ...resource, events: [...resource.events, newEvent] }
: resource
)
);
};
return (
<div style={{ height: '600px' }}>
<ResourceScheduler
resources={resources}
initialView={ViewType.Week}
onEventCreate={handleEventCreate}
/>
</div>
);
}
Import the default styles in your main CSS or JS file:
import "resource-scheduler/dist/resource-scheduler.css"
We welcome contributions! Please see our Contributing Guide for details.
# Clone the repository
git clone https://github.com/mdobaid311/resource-scheduler.git
cd resource-scheduler/resource-scheduler
# Install dependencies
npm install
# Start development server
npm run dev
# Build the package
npm run build
# Run tests
npm test
MIT License - see the LICENSE file for details.
Resource Scheduler - Efficiently manage and schedule your resources with this powerful React component.