Skip to content

Block 228 of 297

Seating Chart

SVG venue plan with patterned indigo price zones, a matching price table and accessible seating details.

Puck key
SeatingChartBlock
Export
seatingChartBlock
React component
<SeatingChart />
Path
components/puck/seating-chart-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 venue seating plan drawn in SVG as a horseshoe of orchestra, boxes, mezzanine and balcony around the stage, each price zone filled with its own indigo shade and pattern. Beside it, a price table repeats each zone with a matching swatch, description and price, followed by accessible seating details and a ticket button. On phones the plan sits above the table.

  • A performing arts center's "Seating and prices" page
  • A ticketing help page explaining zones before checkout
  • A venue rental page showing the hall layout
Writing the content
  • Price zones takes one to four, and each must use a different Area on the plan. The drawing is fixed to these four areas, so it suits proscenium halls with that layout.
  • Give every zone a different Pattern so the plan still reads in grayscale or for color-blind visitors.
  • Areas with no zone assigned are drawn in plain gray. Use Plan note to say the zones are approximate and not to scale.
Accessibility
  • The plan is an SVG with role="img", a title naming the hall and a description listing each zone and its price, so screen reader users get the same summary (WCAG 1.1.1).
  • Zones differ by pattern as well as shade, and every zone is repeated in a real table with row headers and a visible caption (WCAG 1.4.1, 1.3.1).
Customizing the code
  • The SHAPES object builds each area from the sector() helper with radii and angles; edit those numbers to reshape the plan for another hall.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Hall nametext
  • Stage labeltext
  • Price zonesarray
  • Price table captiontext
  • Accessibility headingtext
  • Accessibility detailsarray
  • Plan notetextarea
  • Button texttext
  • Button linktext