Skip to content

Block 113 of 297

Academic Calendar

Key dates for each term in side-by-side columns, entered one per line, with a full-calendar PDF link.

Puck key
AcademicCalendarBlock
Export
academicCalendarBlock
React component
<AcademicCalendar />
Path
components/puck/academic-calendar-block.tsx
Dependencies
None
License
MIT

About this block

When to use it, how to write for it, and what to change in the code.

What it's for

Key dates for each term in side-by-side columns: two on tablets, three on desktop and a single column on phones. Each term lists its dates as rows with the date on the left and the event beside it. A download button for the full calendar sits next to the heading, with an optional note at the bottom.

  • Registrar and academic calendar pages
  • Student resource pages that need add, drop and withdrawal deadlines
  • School district or community college term calendars
Writing the content
  • Enter Dates one per line as the date, a | character, then the event, such as "Aug 24 | Classes begin". A line without a | shows TBA in the date column.
  • Terms takes 1 to 6 entries. Three fills a desktop row; add summer sessions as their own terms.
  • Put the file type and size in File details, like "PDF, 240 KB", so people know what they're downloading.
  • Use the Footnote to say who approves the calendar and where changes are posted first.
Accessibility
  • Each term is an article with its name as a heading one level below the section heading.
  • Dates and events are a description list, pairing each date with its event for screen readers (WCAG 1.3.1).
  • The download button includes the file details in its link text, and its icon and the term accent bars are hidden from assistive tech.
Customizing the code
  • Date text and the term accent bar use indigo-700 and indigo-600.
  • The date column width is w-26 sm:w-30; widen it if you use long ranges like "Nov 25 – 27".

Editor fields

What content editors see in the P1 sidebar when they select this block.

  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Termsarray
  • Download link texttext
  • Download linktext
  • File detailstext
  • Footnotetextarea