Scheduler

A week/day calendar of events.

Mon
Tue
Wed
Thu
Fri
Sat
Sun
8 AM
9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
3 PM
Standup
Design review
Lunch
1:1

Day view

Today
8 AM
9 AM
10 AM
11 AM
12 PM
1 PM
2 PM
3 PM
Standup

API reference

Inputs

PropTypeDefaultDescription
eventsreadonly SchedulerEvent[][]Events to position within the calendar grid.
daysreadonly string[][]Custom day-column headers; empty falls back to weekday names or `Today`.
startHournumber8First hour shown on the time axis (24-hour).
endHournumber18Last hour shown on the time axis (24-hour), exclusive of the final row.
view"day" | "week"'week'Layout mode; `day` shows a single column, `week` shows the full week.
labelstring'Schedule'Accessible label applied to the grid's `aria-label`.

Types

SchedulerEvent

FieldTypeDescription
titlestringEvent label rendered inside the positioned block.
daynumberZero-based column index selecting which day the event belongs to.
startstringStart time as an `HH:mm` string; positions the block's top edge.
endstringEnd time as an `HH:mm` string; together with `start` sets the block height.
color?stringTailwind background class for the block; defaults to `bg-primary`.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.