Skip to content

Block 81 of 297

Waitlist Signup

Full-program waitlist form with participant, grade and guardian fields beside a people-waiting count and how offers work.

Puck key
WaitlistSignupBlock
Export
waitlistSignupBlock
React component
<WaitlistSignup />
Path
components/puck/waitlist-signup-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 sign-up for programs that are already full. It explains how the waitlist works in numbered steps beside a large count of people waiting, then collects the participant, guardian contact and scheduling flexibility. On desktop the explanation sits on the right and stays in view; on phones it appears above the form.

  • A sold-out summer camp week or swim lesson session
  • Enrichment classes or clinics with a fixed number of seats
  • Programs that fill early every year and need a fair, first-come list
Writing the content
  • With one Programs entry, the menu becomes plain text sent in a hidden field; two or more (up to 20) show a dropdown.
  • Fill People waiting only if you can keep it current, ideally from a data source.
  • Keep How the waitlist works to three or four steps (5 maximum), each with a short title and a one-sentence detail.
  • Offer note appears in a "Heads up" box; use it for the rule families most often miss, like a 48-hour window.
Accessibility
  • The explanation is an aside labelled "How the waitlist works", with steps in an ordered list and step titles as headings.
  • Participant and guardian fields sit in fieldsets with legends, and every input has a visible label. Optional fields say so in text.
  • Step circles and chevrons are hidden from screen readers, and inputs keep a 44px minimum height.
Customizing the code
  • The accent is indigo-600 on inputs, step circles and the button; swap the indigo- family to rebrand.
  • The split is lg:col-span-7 and lg:col-span-5; lg:order-1 and lg:order-2 set which side each sits on.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • People waitingtext
  • People waiting labeltext
  • Form action URLtext
  • Programsarray
  • Age or grade optionsarray
  • How the waitlist worksarray
  • Offer notetext
  • Button texttext
  • Privacy notetextarea