ansulagrawal/react-big-schedule
Acerca de
React Big Schedule is a powerful and intuitive scheduler and resource planning solution built with React.
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
A free, MIT-licensed React calendar and resource scheduler: month, week, day, list and year views, a resource timeline, drag and drop, event sources, recurring events, time zones, five design styles with palettes, light and dark. TypeScript, no UI library.
Documentation, live demos and the full API: https://react-big-schedule.ansulagrawal.com
Install
npm install react-big-schedule
# or: yarn add / pnpm add / bun add
React 18 or 19 is a peer dependency. The package is ESM only and ships its own types.
Quick start
import { Calendar } from 'react-big-schedule';
import 'react-big-schedule/dist/css/style.css';
const events = [{ id: 1, title: 'Standup', start: '2026-10-12T09:00', end: '2026-10-12T09:30' }];
export default () => <Calendar events={events} theme="dark" look="material" palette="purple" editable selectable />;
For the resource timeline use Scheduler with SchedulerData; see the website for a complete example.
Large schedules
Scheduling 10,000+ events stays smooth: once a scheduler has more than 50 rows or 500 events, only the rows, columns and events near the viewport are mounted (virtual rendering), and switching between day, week, month, quarter, year and the vertical resource view takes tens of milliseconds. It is on by default. Use virtualRendering: false to turn it off or virtualOverscan (pixels, default 400) to mount more around the viewport. It needs a scrolling content area, so give the scheduler a fixed schedulerContentHeight such as '600px'.
Accessibility
Every Calendar view and the Scheduler were audited with axe-core in the light and dark themes (no violations left), and the markup follows the ARIA grid pattern: day cells are grid cells named by their date, events are buttons named by what you see (time and title), and the live region announces moves.
- Keyboard: arrow keys move between days, Enter or Space activates, and on an editable event Alt + arrows moves it (a day or a time slot) and Shift + arrows changes its length. Focus stays on the event and the change is announced.
- Contrast: event text switches between white and near-black to stay readable on any hex,
rgb()or basic named event colour, and the built-in light and dark themes meet WCAG AA. - Not yet verified: a manual pass with NVDA, JAWS and VoiceOver. Reports from real screen-reader use are welcome.
Touch
On touch screens an event is picked up after a long press, so a plain swipe still scrolls the calendar. Hold for longPressDelay ms (default 400), the event lifts (and the phone vibrates briefly where supported), then drag. The same applies to selecting a range. Mouse and pen are not affected.
<Calendar
longPressDelay={400} // all touch drags and selections
eventLongPressDelay={300} // only moving / resizing events (falls back to longPressDelay)
selectLongPressDelay={500} // only range selection (falls back to longPressDelay)
/>;
Set longPressDelay={0} to drag at once; a finger resting on an event then can't scroll the page. The Scheduler timeline is mouse-first and does not use these options yet. The long-press timing and cancel-on-swipe logic is covered by bun src/calendar/longPress.check.ts; feel and scroll behaviour on real iOS and Android devices has not been verified yet, so feedback from phones is welcome.
Upgrading
Only 9.0.0 or later is supported; earlier versions are deprecated on npm. antd is no longer a dependency, the package is ESM only and React is a peer dependency. See the upgrade guide and the release notes.
Contributing
Fork, branch, bun install, bun run check and bun run build:lib, then open a pull request against master. See CONTRIBUTING.md. The demos and docs site lives in react-big-schedule-site; point its react-big-schedule dependency at your checkout (file:../react-big-schedule) to try a change there. Questions and bugs: GitHub issues.
License
Explorar proyectos relacionados
Cargando…