Components · Planning
Calendar
Dated events. view: agenda (default; a list grouped by day) or month (a month grid; narrow screens show that month as a list). Each event has a title, start, optional end, allDay, tone, and a short note. Dates are ISO: 2026-11-06 for all-day (an all-day end date is included), 2026-11-06T15:30 for a time. Times show as written unless you set timeZone (IANA, such as America/New_York): then times with Z or an offset move into that zone. The viewer's own time zone is never used. month (2026-11) picks the month the month view opens on; by default it opens on the first event's month. weekStart: sunday (default) or monday.
ExamplesLink to this section
Design review
Room 4
Team offsite
Release
Times in America/New York.
Show JSONHide JSON
{
"version": 1,
"root": "calendar",
"elements": {
"calendar": {
"type": "Calendar",
"props": {
"title": "Launch week",
"timeZone": "America/New_York",
"events": [
{
"title": "Design review",
"start": "2026-11-09T15:00:00Z",
"end": "2026-11-09T16:00:00Z",
"tone": "info",
"note": "Room 4"
},
{
"title": "Team offsite",
"start": "2026-11-10",
"end": "2026-11-11",
"tone": "success"
},
{
"title": "Release",
"start": "2026-11-12T22:00:00Z",
"tone": "warning"
}
]
}
}
}
}November 2026
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
Mon, Oct 26, 2026 | Tue, Oct 27, 2026 | Wed, Oct 28, 2026 | Thu, Oct 29, 2026 | Fri, Oct 30, 2026 | Sat, Oct 31, 2026 | Sun, Nov 1, 2026 |
Mon, Nov 2, 2026
| Tue, Nov 3, 2026
| Wed, Nov 4, 2026
| Thu, Nov 5, 2026 | Fri, Nov 6, 2026 | Sat, Nov 7, 2026 | Sun, Nov 8, 2026 |
Mon, Nov 9, 2026 | Tue, Nov 10, 2026 | Wed, Nov 11, 2026 | Thu, Nov 12, 2026 | Fri, Nov 13, 2026 | Sat, Nov 14, 2026 | Sun, Nov 15, 2026 |
Mon, Nov 16, 2026 | Tue, Nov 17, 2026 | Wed, Nov 18, 2026 | Thu, Nov 19, 2026 | Fri, Nov 20, 2026 | Sat, Nov 21, 2026 | Sun, Nov 22, 2026 |
Mon, Nov 23, 2026 | Tue, Nov 24, 2026 | Wed, Nov 25, 2026
| Thu, Nov 26, 2026
| Fri, Nov 27, 2026
| Sat, Nov 28, 2026
| Sun, Nov 29, 2026
|
Mon, Nov 30, 2026
| Tue, Dec 1, 2026 | Wed, Dec 2, 2026 | Thu, Dec 3, 2026 | Fri, Dec 4, 2026 | Sat, Dec 5, 2026 | Sun, Dec 6, 2026 |
Migration window
Kickoff
Holiday freeze
Show JSONHide JSON
{
"version": 1,
"root": "calendar",
"elements": {
"calendar": {
"type": "Calendar",
"props": {
"view": "month",
"month": "2026-11",
"weekStart": "monday",
"events": [
{
"title": "Migration window",
"start": "2026-11-02",
"end": "2026-11-04",
"tone": "warning"
},
{
"title": "Kickoff",
"start": "2026-11-02T09:00",
"end": "2026-11-02T10:00",
"tone": "info"
},
{
"title": "Holiday freeze",
"start": "2026-11-25",
"end": "2026-11-30",
"tone": "danger"
}
]
}
}
}
}PropsLink to this section
Generated from the zod schema the server validates with. Unknown props are ignored with a warning. Any prop can also be a dynamic value such as { "$state": "/path" }; it is checked again once it resolves.
| Prop | Type | Limits and defaults |
|---|---|---|
| title | string | max 160 chars |
| view | "agenda" | "month" | — |
| month | string | max 7 chars |
| timeZone | string | max 64 chars |
| weekStart | "sunday" | "monday" | — |
| eventsrequired | object[] | max 500 items |
| events[].titlerequired | string | max 160 chars |
| events[].startrequired | string | max 40 chars |
| events[].end | string | max 40 chars |
| events[].allDay | boolean | — |
| events[].tone | "neutral" | "info" | "success" | "warning" | "danger" | — |
| events[].note | string | max 300 chars |
RulesLink to this section
- A date (2026-11-10) is all-day, and an all-day
enddate is included. - A time without Z or an offset (2026-11-10T09:00) shows exactly as written. Times with Z or an offset move into
timeZone; the reader's own time zone is never used. startandendmust both be dates or both be times, andendcannot come beforestart.- Narrow screens show the month view as a list.
Children and eventsLink to this section
Calendar is a leaf: it does not show children. Validation warns when a leaf has some; wrap them in a Stack or Card instead.
It emits no events.