Skip to content

Block 223 of 297

Exhibitions List

Current shows as large editorial spreads, upcoming in a staggered grid, past in a ruled index, with status spelled out.

Puck key
ExhibitionsListBlock
Export
exhibitionsListBlock
React component
<ExhibitionsList />
Path
components/puck/exhibitions-list-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

A museum's exhibitions in three tiers set by status: shows on view run as large alternating image-and-text spreads, upcoming shows sit in a staggered three-column grid, and closed shows collapse into a ruled text index. Each item states its status in words. On phones the spreads and grid stack into one column, image first.

  • The main "Exhibitions" page of an art or history museum
  • A home page section showing what's on view now
  • A gallery or university art space archive page
Writing the content
  • Set Status on every exhibition; it decides which tier the show appears in. Change it to Closed when a show ends rather than deleting it, so it moves to the index.
  • Closed exhibitions show only title, dates and gallery. Their image, subtitle and description are not displayed.
  • Keep the On view, Upcoming and Past labels filled in. If one is blank, that tier loses its heading and shows only a rule.
Accessibility
  • Status is spelled out ("On view", "Opening soon", "Closed") next to a decorative mark, so it never relies on shape or color (WCAG 1.4.1).
  • Tier labels and exhibition titles form a two-level heading outline below the Heading level setting; the large index numbers and item counts are hidden from screen readers (WCAG 1.3.1).
  • Each "Explore the exhibition" link adds the exhibition title for screen readers, and arrow motion on hover is disabled for reduced-motion users.
Customizing the code
  • STATUS_LABEL at the top of the file sets the status wording; StatusMark sets the dot, ring and dash marks.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • On view labeltext
  • Upcoming labeltext
  • Past labeltext
  • Exhibition link texttext
  • All exhibitions link texttext
  • All exhibitions linktext
  • Exhibitionsarray