01getting started
Playground
Every prop on knobs: a live calendar and a snippet that rewrites itself as you flip them.
The props that change how the calendar draws, each on a knob. The snippet under the calendar rewrites itself as you flip them — copy it out when it looks right.
liveplaygroundnothing is saved
flip a knob, copy the snippet
Mon21
Tue22
Wed23
Thu24
Fri25
Sat26
Sun27
All-day
props
defaultView
Uncontrolled starting view. Ignored when view is set.density
Hour height, event type size and padding together.zoom4
dayStartHour0
dayEndHour24
snapMinutes
Drag and keyboard snap grid.weekStartsOn
0 = Sunday … 6 = Saturday.workingHours
Working-hours tint boundaries; false disables the tint.locale
BCP 47 tag for every date and time label.hour12
Force a 12- or 24-hour clock; omit and the locale decides.timeZones
Extra gutter zone columns, in order.navigationKeys
What ←/→ move by. PageUp/PageDown always step the range.<Kloq> <Kloq.Toolbar /></Kloq>Every knob here is a plain prop on <Kloq>; the deeper surfaces — controlled
state, slots, themes, the command registry — get their own pages, several
with smaller playgrounds of their own.