Block 64 of 297
Volunteer Application
Interest cards, day and time availability, a reference and age and background-check consent beside a what-happens-next rail.
- Puck key
- VolunteerApplicationBlock
- Export
- volunteerApplicationBlock
- React component
- <VolunteerApplication />
- Path
- components/puck/volunteer-application-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 volunteer intake form covering contact details, interest-area cards, days and time of day, experience, a reference and age and background-check acknowledgements. A dark sidebar with a numbered "what happens next" timeline sits beside it and stays in view on desktop. Without sidebar content, the form centers on its own; on phones the sidebar follows the form.
- A food bank, shelter or tutoring program screening new volunteers
- A park or library volunteer corps with several roles
- An events team recruiting day-of help with set availability
Writing the content
- Add one to ten Areas of interest with a one-line Short description. Applicants can pick any number.
- Turn off Ask to confirm age 18+ if teens may apply. Leave the Background check statement blank if no role needs one.
- Use What happens next for up to six steps with honest timelines.
- Days and times of day are fixed in code, and a time-of-day choice is required.
Accessibility
- Each group is a fieldset with a visible legend; day pills show short names, while screen readers hear the full day.
- Selected pills and cards change ring thickness and fill, not just color, and focus outlines the whole pill (WCAG 2.4.7).
- Acknowledgements are native checkboxes with 44px labels. The sidebar is a labelled aside with hidden "Step 1:" text before each step.
Customizing the code
- DAYS, DAY_NAMES and TIMES arrays at the top of the file control the availability options.
- The sidebar is bg-neutral-950 with indigo-600 step circles; the pill styling is in pillClass.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Form action URLtext
- Areas of interestarray
- Ask to confirm age 18+radio
- Background check statementtextarea
- Ask for a referenceradio
- Button texttext
- Sidebar headingtext
- What happens nextarray
- Contact notetextarea