Skip to content

Block 232 of 297

Venue Rental

Rentable spaces with large standing and seated capacities, catering and AV notes, and a no-JS inquiry form.

Puck key
VenueRentalBlock
Export
venueRentalBlock
React component
<VenueRental />
Path
components/puck/venue-rental-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 private events section that presents each rentable space as a photo spread, alternating image side, with standing and seated capacity set in large numerals. Catering and AV notes sit beside an inquiry form for name, email, date, guest count, event type and spaces of interest. Spreads stack image over text on phones.

  • A museum or performing arts center's "Host your event" page
  • Wedding and corporate event pages for a historic venue or garden
  • Community center meeting rooms and auditoriums
Writing the content
  • Use plain numbers for Standing capacity and Seated capacity; a blank one hides, as for a fixed-seat auditorium.
  • Put one option per line in Event types to build the dropdown. With two or more Spaces, the form adds a checkbox for each.
  • Point Form action URL at a working handler; the block posts there and has no submission logic of its own.
Accessibility
  • Every form control has a visible label tied by id, name and email are required with autocomplete hints, and the space checkboxes are grouped in a fieldset with a legend.
  • Capacity figures use a description list so each number is announced with its Standing or Seated label (WCAG 1.3.1). The decorative 01 / 03 counter is aria-hidden.
  • Inputs show an indigo focus outline, and checkbox rows and the submit button meet 44px and 48px minimum heights.
Customizing the code
  • Change indigo- to rebrand seated capacity, feature markers and focus states; the input class string at the top of the file styles all form fields.
  • Photos crop at aspect-4/3; the alternating sides come from the i % 2 flip with lg:order-2.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Spacesarray
  • Catering headingtext
  • Catering notetextarea
  • AV headingtext
  • AV notetextarea
  • Form headingtext
  • Form introtextarea
  • Form action URLtext
  • Event typestextarea
  • Submit button texttext
  • Privacy notetext
  • Contact linetext