Block 138 of 297
Annual Report Highlights
Year-in-review section with an oversized year, headline figures, three highlight stories and a full-report download.
- Puck key
- AnnualReportHighlightsBlock
- Export
- annualReportHighlightsBlock
- React component
- <AnnualReportHighlights />
- Path
- components/puck/annual-report-highlights-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 year-in-review section that opens with an oversized year beside the heading, followed by up to four headline figures, up to three highlight stories with photos, and an indigo panel for downloading the full report. Figures and stories set their column counts from how many you add, and everything stacks to one column on phones.
- An annual report landing page that links to the full PDF
- An About page section summarizing the past year
- A donor update or year-end email landing page
Writing the content
- Keep each Figure short, like 2.4M or 96%, and always fill the Source line, such as the audited financials for that fiscal year.
- Highlight stories take zero to three. Story link text only shows on stories that have a Link.
- Fill File details, such as PDF · 32 pages · 4.1 MB. Leave Download link text blank to hide the panel.
Accessibility
- The large year is hidden from screen readers and added to the heading as hidden text, so it is read once. The section is labelled by that heading.
- Figures are a description list, and each linked story is one stretched link on its title; the decorative "Read the story" line is hidden.
- The Download button adds the report name for screen readers. The image zoom on story hover does not check reduced-motion settings.
Customizing the code
- The year, kickers and download panel use Tailwind indigo; swap indigo- for your brand family.
- Change aspect-4/3 on story images for a different crop, or text-9xl on the year if it crowds the heading.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Yeartext
- Headingtextarea
- Heading levelselect
- Introtextarea
- Headline figuresarray
- Source linetext
- Highlight storiesarray
- Story link texttext
- Download link texttext
- Download linktext
- File detailstext