Skip to Content
Welcome to DayFlow 🎉

Sidebar

Explore DayFlow’s sidebar experience with live examples. The demos below demonstrate the built-in sidebar UI and a custom React implementation.

Default sidebar

Enable useSidebar to get the ready-made layout with visibility toggles, calendar color swatches, and collapse controls. The default sidebar also supports Calendar Creation and Context Menus, allowing users to add, edit colors, and delete calendars.

January 2026

Mon
12
Tue
13
Wed
14
Thu
15
Fri
16
Sat
17
Sun
18
All day
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
00.00
Sprint Planning
10:00 - 11:30
Pilates Class
07:30 - 08:30
Customer Journey Workshop
14:00 - 16:00
import { useCalendarApp, DayFlowCalendar, createDayView, createWeekView, createMonthView, createDragPlugin, ViewType, } from '@dayflow/core'; const calendar = useCalendarApp({ views: [createMonthView(), createWeekView(), createDayView()], plugins: [createDragPlugin()], events: events, calendars: calendars, defaultView: ViewType.WEEK, useSidebar: { enabled: true, width: 280, }, });

Custom sidebar layout

Provide a render function to replace the sidebar with bespoke content — like team filters, analytics, or curated quick links — while still relying on the shared calendar state.

January 2026

Mon
12
Tue
13
Wed
14
Thu
15
Fri
16
Sat
17
Sun
18
All day
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
00.00
Sprint Planning
10:00 - 11:30
Pilates Class
07:30 - 08:30
Customer Journey Workshop
14:00 - 16:00

What to explore

  • Hide and show calendars to see the toggles update instantly.
  • Drag events between views; the custom sidebar keeps upcoming highlights in sync.
  • Collapse the sidebar to reclaim space when focusing on dense week views.
const calendar = useCalendarApp({ /* … */ useSidebar: { enabled: true, width: 320, render: props => <CustomSidebar {...props} />, }, });