Skip to content

Block 29 of 297

Testimonial Spotlight

One big, well-set pull quote with attribution, centered or beside a portrait.

Puck key
TestimonialSpotlightBlock
Export
testimonialSpotlightBlock
React component
<TestimonialSpotlight />
Path
components/puck/testimonial-spotlight-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

One quote given the whole section, with the speaker's name, role and an optional organization wordmark beneath it. Choose a centered layout with a small round photo, or a tall portrait beside the quote. Without a photo, the centered version shows the person's initials in a circle. On phones the portrait sits above the quote.

  • A volunteer, client or student story on a program page
  • A board chair or funder voice on an About or giving page
  • Breaking up a long page with one human voice
Writing the content
  • Keep the Quote to two or three sentences; blank lines start new paragraphs, but one paragraph reads strongest at this size.
  • Use Role for the relationship that makes the quote credible, like "Volunteer since 2019".
  • Photo beside quote needs a Photo URL; without one the block falls back to Centered.
  • Get the person's permission for both the quote and the photo, and use their words as spoken, lightly trimmed at most.
Accessibility
  • The quote is a blockquote inside a figure, with the name and role in the figcaption, so the attribution is tied to the quote (WCAG 1.3.1).
  • The large quotation mark graphic, initials circle and divider are aria-hidden; the name is read as text.
  • Photo alt text defaults to empty because the name sits beside the photo; fill it in only if the image adds information.
Customizing the code
  • The quote mark is text-indigo-200 and the portrait backing panel bg-indigo-50; change both to rebrand.
  • Portrait crop runs aspect-[4/3], sm:aspect-[3/2], lg:aspect-[4/5] on the photo layout's img.

Editor fields

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

  • Headingtext
  • Heading levelselect
  • Quotetextarea
  • Nametext
  • Roletext
  • Photo URLtext
  • Photo alt texttext
  • Organizationtext
  • Layoutradio