svelte-calendar

svelte-calendar — a Svelte 5 calendar component, live demo

Just the component: its own header with Today, the arrows and the view pillsBuilt-in header hidden; the page's own Today and arrows drive currentDateEditable week grid with business hours, blocked lunch slots, and disabled datesFixed weekly template: day names only, no past-day dimming, read-onlyWeek agenda as side-by-side day columns — classic class-schedule gridChromeless compact agenda for dropping into an existing page

Host page

Mon
Tue
Wed
Thu
Fri
Sat
Sun
All day

readOnly is on: nothing moves. Click an event and its callback reports here.readOnly is on: nothing moves. Tap an event and its callback reports here.

23 lines
<Calendar {adapter} view="week-planner" readOnly equalDays showDates={false} visibleHours={[7, 21]}> {#snippet header()}{/snippet} </Calendar>