Block 119 of 297
Scholarship List
Scholarships sorted by deadline, each with amount, eligibility, a renewable badge and an apply link.
- Puck key
- ScholarshipListBlock
- Export
- scholarshipListBlock
- React component
- <ScholarshipList />
- Path
- components/puck/scholarship-list-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 list of scholarship cards, each split into three bands on wider screens: amount, then name with eligibility, then deadline and apply link. Cards sort themselves so the nearest deadline comes first, and undated awards drop to the end. On phones the bands stack. It fits financial aid pages where students compare awards by date.
- A financial aid page listing institutional scholarships for the coming year
- A department or college page with its own named awards
- A foundation or donor-relations page showing open funds and deadlines
Writing the content
- Always fill Deadline date (YYYY-MM-DD). It drives the sort order; awards without a valid date move to the bottom.
- Use Deadline text (optional) only to add detail such as a time of day; it replaces the formatted date on screen.
- Write Eligibility one requirement per line and keep each short. Set Renewable to Yes only for awards that continue in later years.
Accessibility
- Awards are an ordered list of articles with the name as a heading one level below the block heading.
- Hidden text labels the amount and eligibility list, and each apply link includes the award name, so repeated "Apply" links stay distinct (WCAG 2.4.4).
- Dated deadlines are wrapped in a time element, and the Renewable badge is written as a word, not shown by color alone.
Customizing the code
- The amount band, badge, check icons and button use Tailwind indigo; swap indigo- for your brand family.
- On desktop the card is md:grid-cols-12 split 3/6/3; adjust the md:col-span classes to give eligibility more room.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Scholarshipsarray
- Footnotetextarea
- Button texttext
- Button linktext