Block 108 of 297
Program Finder
Degree and certificate cards showing credential, school, format and length, each card a single link.
- Puck key
- ProgramFinderBlock
- Export
- programFinderBlock
- React component
- <ProgramFinder />
- Path
- components/puck/program-finder-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 grid of program cards, each showing the credential badge, program name, school or college, format and length, with the whole card linking to the program page. It runs three across on desktop, two on tablets and one on phones. Despite the name it has no search or filters; it is a curated, browsable list with a link to the full catalog.
- A featured-programs section on an admissions home page
- A college or school landing page listing its degrees
- Graduate or continuing education pages highlighting online and evening options
Writing the content
- Programs takes 1 to 24 cards. Six or nine fill the desktop grid cleanly; send people to the catalog with All programs link text for the rest.
- Keep Credential short, such as B.S., M.P.A. or Certificate, so the badge stays compact.
- Use Format for delivery mode, like "On campus · Online", and Length for time to complete. Both hide when blank.
- Fill Link on every card; a card with no link points to #.
Accessibility
- Each program name is a heading one level below the section heading, and the credential is added to the link text in hidden form, so it reads as "Nursing, B.S.N.".
- The whole card is clickable through the title link stretched over it, with a focus outline drawn around the full card (WCAG 2.4.7).
- Format and length are a description list with hidden term names. The card's hover lift only runs when the visitor allows motion (motion-safe).
Customizing the code
- Credential badges use bg-indigo-50 and text-indigo-800; the arrow circle turns indigo-600 on hover.
- Grid columns are sm:grid-cols-2 lg:grid-cols-3 on the list.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Programsarray
- All programs link texttext
- All programs linktext