Scheduler
Calendar/agenda with day / week / month / year / timeline views. Drag across the grid to select a range — the scheduler calls onEventCreate with the range; the consumer decides whether to materialise an event (or open a confirmation modal). Every output is a typed React on* prop that receives its payload directly.
Keyboard shortcuts
- Getting in: Tab walks the header, then the grid, then the events. Inside the grid the arrow keys walk cells.
- Cell navigation — week / day: ↑ / ↓ move one time slot, ← / → one day (week only). Timeline: ← / → move one slot in time, ↑ / ↓ one resource. Month: ← / → walk days, ↑ / ↓ one week. Year: ← / → walk months, ↑ / ↓ three months. Crossing a month or year boundary advances the displayed period.
- Jumps: Home / End first / last slot of the column · Ctrl + Home / Ctrl + End first / last cell of the view · PageUp / PageDown previous / next period
- Selecting a range: Shift + arrow extends a time range, crossing day boundaries on the week view. Esc clears it.
- Committing: Enter on a cell or a selection emits
onEventCreatecarrying the range — a request, not a write. The scheduler stores nothing itself; this page's handler materialises the event and then clears the two-wayselectedRange. - On a focused event: ← / → walk to the previous / next event by start time (no wrap) · Delete / Backspace emits
onEventDelete· Esc returns focus to the grid - Move mode: M or Enter on a focused event enters move mode. Arrow keys nudge the event in time (or across resources on the timeline), Shift + arrow resizes the end edge, Alt + Shift + arrow resizes the start edge. Enter commits, Esc cancels.
- Touch resize: tap an event to select it, then drag the round handle at its top or bottom edge (left / right on the timeline) — the resize starts immediately, no hold needed. Moving an event by touch stays hold-then-drag (600 ms).
- Mouse resize: drag the top or bottom edge of any resizable event (selected or not); the selected event shows the round handles as the visual affordance.
- Edit without dragging: double-click / double-tap an event to edit its title and start / end times in a form — the single-pointer, non-drag alternative (WCAG 2.5.7). This page passes
eventEditor={false}and brings its own form (the escape hatch); with the default, the scheduler's built-in editor opens instead (also via right-click or F2). - Views: Alt + T today · Alt + Y year · Alt + M month · Alt + W week · Alt + D day. These work from anywhere in the scheduler; bare letters are deliberately not hot-keys.
Today's agenda
Sunday, December 6, 2026
Sun
6
December 2026
12:00 AM
12:30 AM
1:00 AM
1:30 AM
2:00 AM
2:30 AM
3:00 AM
3:30 AM
4:00 AM
4:30 AM
5:00 AM
5:30 AM
6:00 AM
6:30 AM
7:00 AM
7:30 AM
8:00 AM
8:30 AM
9:00 AM
9:30 AM
10:00 AM
10:30 AM
11:00 AM
11:30 AM
12:00 PM
12:30 PM
1:00 PM
1:30 PM
2:00 PM
2:30 PM
3:00 PM
3:30 PM
4:00 PM
4:30 PM
5:00 PM
5:30 PM
6:00 PM
6:30 PM
7:00 PM
7:30 PM
8:00 PM
8:30 PM
9:00 PM
9:30 PM
10:00 PM
10:30 PM
11:00 PM
11:30 PM
Use the arrow keys to move between cells. Hold Shift with the arrow keys to extend the selection, and press Enter to request a new event for the selection. Page Up and Page Down change the period. Alt with T, Y, M, W or D switches to today, year, month, week or day view.
Press Enter or M to move or resize the event with the arrow keys. Delete removes the event. Left and Right arrows move between events.
Source
// view, date and selectedRange are two-way: pass the value and take it// back from on<Name>Change, like any controlled React input.const [view, setView] = useState<ViewType>('day');const [date, setDate] = useState(new Date());const [range, setRange] = useState<TimeRange | null>(null);<BsScheduler events={events} view={view} onViewChange={(next) => next && setView(next)} date={date} onDateChange={(next) => next && setDate(next)} selectedRange={range} onSelectedRangeChange={setRange} onEventCreate={e => { setEvents([...events, { id: generateEventId(), title: 'New Event', start: e.range.start, end: e.range.end, color: '#0d6efd', }]); setRange(null); // clears the scheduler's selection }}/>