Block 58 of 297
CTA with Testimonial
A large serif pull quote with portrait and attribution beside a CTA card with a primary button and a secondary link.
- Puck key
- CtaTestimonialBlock
- Export
- ctaTestimonialBlock
- React component
- <CtaTestimonial />
- Path
- components/puck/cta-testimonial-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 testimonial-led ask: a large serif quote with a round portrait, name and role on one side, and a white card holding the heading, short body, a primary button and a secondary outlined link on the other. You choose which side the quote takes on desktop. On phones the quote always comes first, with the card below it.
- A scholarship or student-aid appeal told through one recipient
- A program page where a participant's words make the case to give or enroll
- A volunteer recruitment section quoting a current volunteer
Writing the content
- Keep the Quote to one or two sentences. Quotation marks are added for you.
- Use a portrait only with the subject's permission; it's cropped to a circle, so center the face.
- Role or context should say why this voice matters, such as a class year or program.
- Leave either button label blank to hide it. A label with no link points to #.
Accessibility
- The quote and its attribution are a figure with a blockquote and figcaption, so the speaker stays tied to the words (WCAG 1.3.1).
- The decorative quotation-mark graphic is hidden from assistive technology, and Portrait alt text comes from the editor.
- Both actions are full-width links at least 44px tall with indigo focus outlines, and the heading level is an editor setting.
Customizing the code
- The quote mark, the rule beside the name and the buttons use indigo-600 and indigo-700; swap the family to rebrand.
- Quote size steps from text-2xl to lg:text-4xl in font-serif; reduce it if your quotes run long.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Quotetextarea
- Nametext
- Role or contexttext
- Portrait URLtext
- Portrait alt texttext
- Headingtext
- Heading levelselect
- Bodytextarea
- Primary button texttext
- Primary button linktext
- Secondary link texttext
- Secondary linktext
- Quote sideradio