Block 111 of 297
Rankings & Accolades
Oversized ranking and outcome figures, each with what it measures and a visible source line.
- Puck key
- RankingsAccoladesBlock
- Export
- rankingsAccoladesBlock
- React component
- <RankingsAccolades />
- Path
- components/puck/rankings-accolades-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 dark section of oversized figures such as #12, Top 5% or 94%, each with a sentence on what it measures and a visible source line. Choose a grid of up to three across for short accolades, or a list layout that sets the figure beside a longer description. Both collapse to a single column on phones.
- A recognition band on a university home or admissions page
- Outcomes data such as graduation or job placement rates
- Program pages that cite accreditation or national rankings
Writing the content
- Keep each Figure short, like #12, Top 5% or 16:1. Accolades takes 1 to 9 entries; three or six fill the grid.
- Always fill Source with the publisher, ranking name and edition year. The field isn't enforced, and a blank source simply disappears, which weakens the claim.
- Write What it means as one specific sentence: what was measured and against whom.
- Switch Layout to List when descriptions run longer than a line or two.
Accessibility
- Each source line uses a cite element with a visible "Source:" label, so attribution is in the text, not only implied by placement.
- Accolades are a list, and the eyebrow rule and source icon are decorative and hidden from assistive tech.
- Text sits on near-black (neutral-950) with white and neutral-200 to 400 tints; recheck contrast (WCAG 1.4.3) if you lighten the background.
Customizing the code
- The section background is bg-neutral-950, and accents use indigo-300 and indigo-400.
- Grid columns are sm:grid-cols-2 lg:grid-cols-3, and the gap-px with bg-white/10 creates the hairline dividers.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Accoladesarray
- Layoutradio
- Footnotetextarea