Skip to content

Block 235 of 297

Festival Lineup

A festival header, a CSS-only day switcher of stage-by-stage set times, ticket tiers and getting-there notes.

Puck key
FestivalLineupBlock
Export
festivalLineupBlock
React component
<FestivalLineup />
Path
components/puck/festival-lineup-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 festival overview that opens on a dark photo banner with the name, dates and venue, then a day switcher showing each stage's set times, ticket tiers and a getting-there panel. The switcher uses plain CSS radio buttons, with no JavaScript. Stage cards sit one to three across.

  • A multi-day music, food or arts festival page
  • A community celebration with several stages or program areas
  • A conference with parallel tracks over several days
Writing the content
  • Enter Acts one per line as "time | act", like "7:30 PM | The Low Water Band"; skip the time and bar if there isn't one. The last act in each stage is set larger as the headliner.
  • Days cap at four, each with up to four Stages. Keep Day labels short.
  • The banner text sits on the left, so pick a photo with a calm left side.
Accessibility
  • Day buttons are visually hidden radio inputs with labels, so they work with Tab and arrow keys and show a focus outline. Screen readers announce them as radio buttons, not tabs.
  • Only the selected day's panel is displayed, and each panel opens with hidden text naming its day and date.
  • Dates and venue are a description list with hidden labels behind the icons, and stage names are headings two levels below the festival name (WCAG 1.3.1).
Customizing the code
  • Add a fifth entry to the SLOTS array, which holds each day's literal peer-checked classes, to allow more days.
  • Swap indigo- for your brand color to change the stage labels, ticket button and icons.

Editor fields

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

  • Eyebrowtext
  • Festival nametext
  • Heading levelselect
  • Datestext
  • Venuetext
  • Introtextarea
  • Image URLtext
  • Image alt texttext
  • Lineup headingtext
  • Daysarray
  • Tickets headingtext
  • Ticket tiersarray
  • Tickets button texttext
  • Tickets linktext
  • Getting there headingtext
  • Getting there notetextarea
  • Getting there link texttext
  • Getting there linktext