A full-page calendar showcasing month, week, and day views with events, filters, and interactive callbacks.
Nov13
November 2026
Week 46
Mon
Tue
Wed
Thu
Fri
Sat
Sun
When to use Page Calendar
Use when
You need the documented Page Calendar interaction or presentation in a product workflow.
Avoid when
A native HTML element already provides the Page Calendar behavior you need.
Accessibility
Keep the Page Calendar labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.
Geometry defaults use scoped calc fallbacks from --var-spacing-base and the independent --var-radius-base. Explicit semantic overrides stay unchanged. See Geometry tokens for default lookup, radius migration, theme emission, and exceptions. The exported defaultGeometryTokens map has the full set. Current plain-CSS geometry examples:
Page Calendar tokens Override reference
Override
Library default
--var-page-calendar-hour-block-size
calc(var(--var-spacing-base) * 3)
--var-page-calendar-gap
calc(var(--var-spacing-base) * 1)
--var-page-calendar-header-nav-icon-size
calc(var(--var-spacing-base) * 1)
--var-page-calendar-header-icon-size
calc(var(--var-spacing-base) * 0.875)
Day and week hour rows and event offsets share --var-page-calendar-hour-block-size. Changing it keeps event and time-grid alignment. Gutters also scale with density.
The component reads these tokens. Override these CSS variables in your theme to customize them.
Page Calendar tokens Token reference
Token
CSS Variable
Purpose
bg-primary
--var-color-primary
Today and selected day background
text-primary-foreground
--var-color-primary-foreground
Text on today / selected day
bg-background
--var-color-background
Non-today header date badge background
text-foreground
--var-color-foreground
Default day and header text
text-muted-foreground
--var-color-muted-foreground
Hour labels and secondary text
border-border
--var-color-border
Day header and time-grid column borders
CSS override
--var-page-calendar-slot-border
Day/week hour-slot dividers
CSS override
--var-page-calendar-slot-background-hover
Time-slot hover background
Accessibility
Keep the Page Calendar labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.
The root container has role="application". Its aria-label comes from the i18n translation key pageCalendarLabel.
The header month/year title uses aria-live="polite" and aria-atomic="true". Screen readers announce date changes after navigation.
Navigation buttons (Previous, Today, Next) have aria-label attributes.
View toggle buttons use aria-pressed for the active view.
Filter tags are <button> elements with aria-pressed and an aria-label that includes the enabled or disabled state.
Day view hour slots have role="button", tabIndex={0}, and aria-label for keyboard slot selection.
The day column header has an aria-label with the full formatted date string.