Skip to Content

EditorialCalendar

View caller-supplied scheduled entries on a month grid in an explicit timezone.

EditorialCalendar groups scheduled items by the provided calendar timezone and presents month navigation, a status filter, and selectable entries. Pass caller-provided schedule data; the component does not query or schedule entries.

390 × 844

API

PropTypeRequiredDefault
itemsreadonly EditorialCalendarItem[]Yes—
timeZonestringYes—
initialMonthDateNoCurrent month
loadingbooleanNofalse
onSelectItem(item: EditorialCalendarItem) => voidNo—
onMonthChange(month: Date) => voidNo—
classNamestringNo—

EditorialCalendarItem contains id, title, contentType, locale, status, and scheduledAt (Date or ISO string), plus optional item timezone. Display and grouping use the calendar's timeZone.

import { EditorialCalendar } from "@puzzle-ui/pieces";

<EditorialCalendar
  items={scheduledItems}
  timeZone="Europe/Amsterdam"
  onSelectItem={(item) => openEditor(item.id)}
/>;

The calendar uses an accessible grid with native month navigation and entry buttons. On narrow screens the grid remains readable in a horizontally scrollable region. Applications own month-range querying and scheduler correctness.

API maturity

API maturity: Stable.