Skip to content

Block 131 of 297

Financial Transparency

An accessible stacked bar of how funds are spent, plus links to the Form 990, audit and annual report.

Puck key
FinancialTransparencyBlock
Export
financialTransparencyBlock
React component
<FinancialTransparency />
Path
components/puck/financial-transparency-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 spending breakdown shown as a single stacked bar with a numbered legend, next to an optional rating or seal and a set of document links such as the Form 990 and audit. Each bar segment pairs a shade with a stripe or dot texture. The intro sits beside the chart on desktop and above it on phones.

  • A financials or accountability page for a nonprofit
  • A donate page section answering "Where does my money go?"
  • An annual report page linking audited statements
Writing the content
  • Enter each Percent as a number and make the total 100. If it isn't, the bar is scaled and an editor-only note appears; readers still see the numbers you typed.
  • List the largest category first and add one to six. Description is optional and appears under each legend item.
  • Use a Source line naming the statements and fiscal year, such as audited FY2025 financials.
  • Include the year in each Documents label, like IRS Form 990 (2025). Up to eight documents.
Accessibility
  • The bar is an image role whose label reads every category with its percent, and the same figures appear in the visible legend list.
  • Segments and swatches combine shades with stripe or dot textures, so categories can be told apart without relying on color alone (WCAG 1.4.1).
  • Category names are headings one level below the block heading, and document links have 56px minimum height with focus outlines.
Customizing the code
  • Segment colors and textures live in the swatches array; edit it to use your brand shades, keeping a texture on alternating entries.

Editor fields

What content editors see in the P1 sidebar when they select this block.

  • Headingtextarea
  • Heading levelselect
  • Introtextarea
  • Chart titletext
  • Spending categoriesarray
  • Source linetext
  • Rating or sealtext
  • Documents headingtext
  • Documentsarray