Block 221 of 297
Community Programs
Health programs with who they serve, cost, how to enroll and who to contact, in easy-to-scan rows.
- Puck key
- CommunityProgramsBlock
- Export
- communityProgramsBlock
- React component
- <CommunityPrograms />
- Path
- components/puck/community-programs-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
Health programs listed as wide ruled rows: the tag, program name, a short summary and a link on the left, and who it serves, cost, how to enroll and a contact strip on the right. It reads like a well-organized brochure rather than a card grid. On phones and tablets each row stacks into a single column.
- A "Programs and services" page for a health center or health department
- A family health page grouping WIC, prenatal and parenting support
- A wellness page listing classes and coaching programs
Writing the content
- Write What it is in one or two plain sentences, then put eligibility in Who it serves rather than in the summary.
- Cost, Who it serves and How to enroll each hide when blank; How to enroll always spans the full width of the facts area.
- Programs takes 1 to 12 rows. Put the programs people ask about most at the top, since the list is long and linear.
- Contact phone and email appear in a strip labeled "Contact"; the strip hides when both are blank.
Accessibility
- Program names are headings one level below the Heading level setting, and the facts use a description list with visible terms (WCAG 1.3.1).
- Program links and phone links add the program name for screen readers, so repeated "See class dates" or phone numbers stay distinct (WCAG 2.4.4).
- Links are at least 44px tall, underlined or clearly styled, and show an indigo focus ring (WCAG 2.4.7).
Customizing the code
- The row split is lg:col-span-5 for the description and lg:col-span-7 for the facts; adjust to rebalance.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Programsarray
- Footnotetextarea