Block 190 of 297
Named Funds
Directory of named and donor funds grouped by type with jump links, purpose, year established and give links.
- Puck key
- NamedFundsBlock
- Export
- namedFundsBlock
- React component
- <NamedFunds />
- Path
- components/puck/named-funds-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 directory of named funds grouped by type (field of interest, designated, scholarship and donor-advised), with each group's funds sorted alphabetically and a give link per fund. A left column with the heading, jump links and a start-a-fund button stays in view on large screens while the list scrolls. On phones it all stacks.
- A community foundation's "Find a fund" page
- A scholarship fund directory for donors
- A memorial or tribute fund listing
Writing the content
- Set Fund type on every fund; groups appear in a fixed order and each fund is alphabetized within its group automatically.
- Keep Purpose to one or two sentences. Year established is optional and prints as "Established 1988".
- Give links need both Give link text and each fund's Give link. Up to 80 funds fit.
- Group descriptions are written in the code, not the editor, so check they match how your foundation defines each type.
Accessibility
- Each fund type is its own section labelled by a heading, with fund names one level lower (WCAG 1.3.1).
- Give links append the fund name for screen readers, so a list of "Give" links stays distinct (WCAG 2.4.4).
- Jump links sit in a nav named "Fund types" and include a hidden "funds" after each count.
Customizing the code
- Fund types, their order, labels and descriptions live in the types constant; edit blurbs there.
- Remove lg:sticky from the left column to stop it from pinning, or change lg:col-span-4 and lg:col-span-8 for the split.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Fundsarray
- Give link texttext
- Footnotetextarea
- Button texttext
- Button linktext