Endorsements 1
Endorsements: a band where 2–4 big authority quotes sit as solid notes under a heavy headline. The first quote is the largest. One two-line action follows, so the borrowed credibility leads straight to the click.
Use it in a prompt
Use proof/endorsements from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/proof/endorsements.tsx. - Import it and pass your copy and images (Props tab):
import { Endorsements } from "@/components/funneldna/proof/endorsements"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/proof/endorsements/component.tsx 438 lines
// layout: annotated-board
// Endorsements: a band where 2–4 big authority quotes sit as solid notes under a heavy headline. The first quote is the largest. One two-line action follows, so the borrowed credibility leads straight to the click.
import React from 'react';
import { Quote, ShieldCheck } from 'lucide-react';
export type Endorsement = {
/** The endorsement text without surrounding quotation marks; rich text (strong, cite) is allowed. */
quote: React.ReactNode;
/** The endorser's name, shown in bold under the quote. */
name: string;
/** Title or credential shown under the name. */
role?: string;
};
export type EndorsementsProps = {
heading?: string;
/** A phrase inside the heading that gets one marker stroke. */
highlight?: string;
/** Optional short line under the heading. */
lead?: React.ReactNode;
/** 2 to 4 endorsements; the first is set largest. Defaults to none, so a page shows only proof it is given. */
endorsements?: Endorsement[];
/** Button main line; leave empty to hide the action. */
actionLabel?: string;
/** Button second line, e.g. price and delivery. */
actionSublabel?: string;
/** One reassurance line under the button. */
reassurance?: string;
/** Navigation destination for the button. */
href?: string;
/** Called when the button is clicked. */
onAction?: () => void;
disabled?: boolean;
state?: 'default' | 'hover' | 'active' | 'disabled';
className?: string;
};
export function Endorsements({
heading = 'Don’t just take our word for it',
highlight,
lead,
endorsements = [],
actionLabel = '',
actionSublabel = '',
reassurance = '',
href,
onAction,
disabled = false,
state = 'default',
className,
}: EndorsementsProps) {
const headingId = React.useId();
const items = endorsements.filter((item) => item && item.name).slice(0, 4);
const count = items.length;
const isDisabled = disabled || state === 'disabled';
const btnClass = [
'cf-endorsements__btn',
state === 'hover' ? 'is-hover' : '',
state === 'active' ? 'is-active' : '',
]
.filter(Boolean)
.join(' ');
const btnInner = (
<>
<span className='cf-endorsements__btn-label'>{actionLabel}</span>
{actionSublabel ? <span className='cf-endorsements__btn-sub'>{actionSublabel}</span> : null}
</>
);
return (
<section className={['cf-endorsements', className].filter(Boolean).join(' ')} aria-labelledby={headingId}>
<style>{CSS}</style>
<div className='cf-endorsements__inner'>
<header className='cf-endorsements__head'>
<h2 id={headingId} className='cf-endorsements__title'>
{markPhrase(heading, highlight)}
</h2>
{lead ? <p className='cf-endorsements__lead'>{lead}</p> : null}
</header>
{count > 0 ? (
<div className='cf-endorsements__grid' data-count={count}>
{items.map((item, i) => (
<figure
key={item.name + i}
className={'cf-endorsements__card' + (i === 0 && count > 1 ? ' cf-endorsements__card--lead' : '')}
style={{ '--i': i } as React.CSSProperties}
>
<Quote className='cf-endorsements__glyph' aria-hidden='true' fill='currentColor' strokeWidth={1} />
<blockquote className='cf-endorsements__quote'>
<p>{item.quote}</p>
</blockquote>
<figcaption className='cf-endorsements__by'>
<span className='cf-endorsements__avatar' aria-hidden='true'>
{initials(item.name)}
</span>
<span className='cf-endorsements__who'>
<span className='cf-endorsements__name'>{item.name}</span>
{item.role ? <span className='cf-endorsements__role'>{item.role}</span> : null}
</span>
</figcaption>
</figure>
))}
</div>
) : null}
{actionLabel ? (
<div className='cf-endorsements__action'>
{href && !isDisabled ? (
<a className={btnClass} href={href} onClick={() => onAction?.()}>
{btnInner}
</a>
) : (
<button type='button' className={btnClass} disabled={isDisabled} onClick={() => onAction?.()}>
{btnInner}
</button>
)}
{reassurance ? (
<p className='cf-endorsements__assure'>
<ShieldCheck className='cf-endorsements__assure-icon' aria-hidden='true' />
{reassurance}
</p>
) : null}
</div>
) : null}
</div>
</section>
);
}
export default Endorsements;
function initials(name: string): string {
return name
.trim()
.split(/\s+/)
.slice(0, 2)
.map((part) => part.charAt(0))
.join('')
.toUpperCase();
}
function markPhrase(text: string, phrase?: string): React.ReactNode {
if (!phrase) return text;
const at = text.indexOf(phrase);
if (at < 0) return text;
return (
<>
{text.slice(0, at)}
<span className='cf-endorsements__mark'>{phrase}</span>
{text.slice(at + phrase.length)}
</>
);
}
const CSS = `
.cf-endorsements{
--e-band: var(--band, oklch(0.27 0.067 256));
--e-band-ink: var(--band-ink, #fff);
--e-band-soft: color-mix(in oklch, var(--e-band-ink) 86%, var(--e-band));
--e-shadow: var(--shadow, oklch(0.22 0.03 256));
--e-mark: var(--accent-fill, var(--accent, oklch(0.5 0.17 257)));
--e-mark-ink: var(--accent-fill-ink, var(--card, #fff));
--e-ink: var(--ink, oklch(0.21 0.034 263));
position: relative;
isolation: isolate;
background: var(--e-band);
color: var(--e-band-ink);
font-family: var(--font-body, sans-serif);
padding-block: clamp(3.5rem, 8vw, 6.5rem);
padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.cf-endorsements *, .cf-endorsements *::before, .cf-endorsements *::after{ box-sizing: border-box; }
.cf-endorsements__inner{ max-width: 72rem; margin: 0 auto; }
.cf-endorsements__head{ max-width: 54rem; margin: 0 auto; text-align: center; }
.cf-endorsements__title{
margin: 0;
font-family: var(--font-display, sans-serif);
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
letter-spacing: var(--display-tracking, -0.02em);
font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4.25rem);
line-height: 1.06;
color: var(--e-band-ink);
text-wrap: balance;
}
/* One marker stroke sized in em and seated low on the letters, so it never paints over the line above. */
.cf-endorsements__mark{
color: var(--e-mark-ink);
background-image: linear-gradient(var(--e-mark), var(--e-mark));
background-repeat: no-repeat;
background-size: 100% 1.02em;
background-position: 0 92%;
padding-inline: .16em;
margin-inline: -.04em .01em;
border-radius: .08em .14em .1em .16em;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
}
.cf-endorsements__lead{
margin: clamp(.9rem, 1.6vw, 1.3rem) auto 0;
max-width: 42rem;
font-size: clamp(1.0625rem, 1rem + .35vw, 1.3rem);
line-height: 1.5;
font-weight: 500;
color: var(--e-band-soft);
text-wrap: pretty;
}
.cf-endorsements__lead strong{ color: var(--e-band-ink); font-weight: 800; }
.cf-endorsements__grid{
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: clamp(1rem, 2vw, 1.5rem);
margin-top: clamp(2.25rem, 5vw, 3.5rem);
align-items: start;
}
.cf-endorsements__grid > .cf-endorsements__card{ grid-column: span 6; }
.cf-endorsements__grid[data-count='1'] > .cf-endorsements__card{ grid-column: 3 / span 8; }
.cf-endorsements__grid[data-count='2'] > .cf-endorsements__card:nth-child(1){ grid-column: span 7; }
.cf-endorsements__grid[data-count='2'] > .cf-endorsements__card:nth-child(2){ grid-column: span 5; }
.cf-endorsements__grid[data-count='3'] > .cf-endorsements__card:nth-child(1){ grid-column: 1 / span 7; grid-row: span 2; }
.cf-endorsements__grid[data-count='3'] > .cf-endorsements__card:nth-child(n+2){ grid-column: 8 / span 5; }
.cf-endorsements__grid[data-count='4'] > .cf-endorsements__card:nth-child(1),
.cf-endorsements__grid[data-count='4'] > .cf-endorsements__card:nth-child(4){ grid-column: span 7; }
.cf-endorsements__grid[data-count='4'] > .cf-endorsements__card:nth-child(2),
.cf-endorsements__grid[data-count='4'] > .cf-endorsements__card:nth-child(3){ grid-column: span 5; }
.cf-endorsements__card{
margin: 0;
position: relative;
display: flex;
flex-direction: column;
gap: clamp(1rem, 2vw, 1.4rem);
padding: clamp(1.5rem, 3vw, 2.5rem);
background: var(--card, #fff);
color: var(--e-ink);
border: 1px solid var(--card-border, color-mix(in oklch, var(--e-ink) 12%, transparent));
border-radius: var(--card-radius, calc(var(--radius, 12px) + 4px));
box-shadow: var(--card-shadow, inset 0 1px 0 oklch(from var(--card, #fff) calc(l + 0.04) c h / .6), 0 1px 2px oklch(from var(--e-shadow) calc(l - 0.1) c h / .45), 0 16px 28px -14px oklch(from var(--e-shadow) calc(l - 0.12) c h / .7));
transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
animation: cf-endorsements-rise .5s cubic-bezier(.2,.7,.2,1) backwards;
animation-delay: calc(var(--i, 0) * 80ms);
}
@media (hover: hover){
.cf-endorsements__card:hover{
transform: translateY(-3px);
box-shadow: var(--card-shadow, inset 0 1px 0 oklch(from var(--card, #fff) calc(l + 0.04) c h / .6), 0 2px 3px oklch(from var(--e-shadow) calc(l - 0.12) c h / .5), 0 22px 34px -16px oklch(from var(--e-shadow) calc(l - 0.14) c h / .8));
}
}
.cf-endorsements__glyph{
flex: none;
width: clamp(1.75rem, 2.4vw, 2.25rem);
height: clamp(1.75rem, 2.4vw, 2.25rem);
color: var(--e-mark);
transform: rotate(180deg);
}
.cf-endorsements__card--lead .cf-endorsements__glyph{
width: clamp(2.1rem, 3vw, 2.9rem);
height: clamp(2.1rem, 3vw, 2.9rem);
}
.cf-endorsements__quote{ margin: 0; }
.cf-endorsements__quote p{
margin: 0;
font-size: clamp(1.125rem, 1rem + .55vw, 1.4rem);
line-height: 1.45;
font-weight: 500;
color: var(--e-ink);
text-wrap: pretty;
}
.cf-endorsements__card--lead .cf-endorsements__quote p{
font-size: clamp(1.3125rem, 1.05rem + 1.05vw, 1.95rem);
line-height: 1.34;
letter-spacing: -0.01em;
}
.cf-endorsements__quote strong{ font-weight: 800; color: inherit; }
.cf-endorsements__quote cite{ font-style: italic; }
.cf-endorsements__by{
margin-top: auto;
display: flex;
align-items: center;
gap: .85rem;
padding-top: clamp(1rem, 1.6vw, 1.25rem);
border-top: 1px solid oklch(from var(--e-ink) l c h / .1);
}
.cf-endorsements__avatar{
flex: none;
display: inline-grid;
place-items: center;
width: 2.75rem;
height: 2.75rem;
border-radius: 50%;
background: var(--e-mark);
color: var(--e-mark-ink);
box-shadow: inset 0 1px 0 oklch(from var(--e-mark) calc(l + 0.12) c h / .6), inset 0 -2px 0 oklch(from var(--e-mark) calc(l - 0.12) c h / .7);
font-family: var(--font-display, sans-serif);
font-weight: 800;
font-size: 1.0625rem;
line-height: 1;
letter-spacing: .02em;
}
.cf-endorsements__card--lead .cf-endorsements__avatar{
width: 3.1rem;
height: 3.1rem;
font-size: 1.1875rem;
}
.cf-endorsements__who{
min-width: 0;
display: flex;
flex-direction: column;
gap: .15rem;
}
.cf-endorsements__name{
font-family: var(--font-display, sans-serif);
font-weight: 800;
font-size: 1.0625rem;
line-height: 1.3;
color: var(--accent, oklch(0.5 0.17 257));
}
.cf-endorsements__role{
font-size: .9375rem;
line-height: 1.4;
color: var(--muted, oklch(0.45 0.03 258));
text-wrap: pretty;
}
.cf-endorsements__action{
margin-top: clamp(2.5rem, 5vw, 3.5rem);
display: flex;
flex-direction: column;
align-items: center;
gap: .9rem;
}
.cf-endorsements__btn{
--b: var(--button-bg, var(--cta, oklch(0.58 0.21 29)));
--b2: var(--button-bg-2, var(--cta-2, oklch(0.5 0.2 29)));
appearance: none;
cursor: pointer;
text-decoration: none;
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: .3rem;
width: min(100%, 30rem);
min-height: 4.5rem;
margin: 0 auto;
padding: .95rem 1.75rem 1.05rem;
border: 1px solid oklch(from var(--b2) calc(l - 0.06) c h);
border-radius: var(--button-radius, var(--radius, 12px));
background: linear-gradient(180deg, oklch(from var(--b) calc(l + 0.04) c h), var(--b2));
color: var(--button-ink, var(--cta-ink, #fff));
text-shadow: var(--button-text-shadow, none);
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--b) calc(l + 0.14) c h / .55), inset 0 -3px 0 oklch(from var(--b2) calc(l - 0.12) c h), 0 1px 2px oklch(from var(--e-shadow) calc(l - 0.1) c h / .55), 0 8px 16px -6px oklch(from var(--e-shadow) calc(l - 0.1) c h / .6));
font-family: var(--button-font, var(--font-display, sans-serif));
text-align: center;
transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.cf-endorsements__btn-label{
font-weight: var(--button-weight, 800);
text-transform: var(--button-case, none);
font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
line-height: 1.15;
letter-spacing: -0.005em;
text-wrap: balance;
}
.cf-endorsements__btn-sub{
font-family: var(--font-body, sans-serif);
font-weight: 600;
font-size: .9375rem;
line-height: 1.3;
text-transform: none;
text-wrap: pretty;
}
.cf-endorsements__btn:hover:not(:disabled), .cf-endorsements__btn.is-hover:not(:disabled){
background: linear-gradient(180deg, oklch(from var(--b) calc(l - 0.02) c h), oklch(from var(--b2) calc(l - 0.06) c h));
transform: translateY(-2px);
}
.cf-endorsements__btn:active:not(:disabled), .cf-endorsements__btn.is-active:not(:disabled){
background: linear-gradient(180deg, var(--b2), oklch(from var(--b2) calc(l - 0.04) c h));
transform: translateY(1px);
box-shadow: inset 0 2px 3px oklch(from var(--b2) calc(l - 0.2) c h / .5), 0 1px 1px oklch(from var(--e-shadow) calc(l - 0.1) c h / .5);
}
.cf-endorsements__btn:focus-visible{
outline: 3px solid var(--e-band-ink);
outline-offset: 3px;
}
.cf-endorsements__btn:disabled{
cursor: not-allowed;
background: var(--button-2-bg, var(--secondary, oklch(0.93 0.015 263)));
color: var(--button-2-ink, var(--secondary-ink, oklch(0.21 0.034 263)));
border-color: transparent;
box-shadow: none;
text-shadow: none;
transform: none;
}
.cf-endorsements__assure{
margin: 0;
max-width: 30rem;
font-size: .9375rem;
line-height: 1.45;
font-weight: 500;
color: var(--e-band-soft);
text-align: center;
text-wrap: pretty;
}
.cf-endorsements__assure-icon{
display: inline-block;
width: 1.1em;
height: 1.1em;
vertical-align: -0.2em;
margin-inline-end: .4em;
color: var(--e-band-ink);
}
@keyframes cf-endorsements-rise{
from{ opacity: .82; transform: translateY(10px); }
to{ opacity: 1; transform: none; }
}
@media (max-width: 760px){
.cf-endorsements__grid{ grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.cf-endorsements .cf-endorsements__grid[data-count] > .cf-endorsements__card:nth-child(n){ grid-column: 1 / -1; grid-row: auto; }
.cf-endorsements__card{ padding: 1.4rem 1.25rem 1.45rem; gap: .9rem; }
.cf-endorsements__avatar, .cf-endorsements__card--lead .cf-endorsements__avatar{ width: 2.6rem; height: 2.6rem; font-size: 1rem; }
.cf-endorsements__card--lead .cf-endorsements__quote p{ font-size: 1.3rem; line-height: 1.38; }
.cf-endorsements__quote p{ font-size: 1.125rem; }
.cf-endorsements__btn{ width: 100%; min-height: 4.25rem; padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce){
.cf-endorsements__card{ animation: none; transition: none; }
.cf-endorsements__card:hover{ transform: none; }
.cf-endorsements__btn{ transition: none; }
.cf-endorsements__btn:hover:not(:disabled), .cf-endorsements__btn.is-hover:not(:disabled),
.cf-endorsements__btn:active:not(:disabled), .cf-endorsements__btn.is-active:not(:disabled){ transform: none; }
}
`;
pieces/proof/endorsements/specimen.tsx 46 lines
import React from 'react';
import { Endorsements } from '../endorsements';
import defaults from '../../studio-defaults.json';
export const states = ['default', 'hover', 'active', 'disabled'];
export default function EndorsementsSpecimen({ state = 'default' }: { state?: 'default' | 'hover' | 'active' | 'disabled' }) {
const sample = defaults.sample;
const guarantee = sample.guarantee.charAt(0).toUpperCase() + sample.guarantee.slice(1);
return (
<Endorsements
state={state}
heading='The kit funnel pros hand to every new client'
highlight='every new client'
lead={
<>
<strong>Don’t take our word for it.</strong> Here’s what two people who plan funnels for a living said after using {sample.name}.
</>
}
endorsements={[
{
quote: (
<>
I’ve bought a dozen courses on funnels. <strong>This is the first kit my clients actually finish.</strong> The planning guide gets them to a clear offer in one evening, and the workbook writes half the page for them.
</>
),
name: 'Dana Ruiz',
role: 'Funnel strategist, Ruiz & Pine Studio',
},
{
quote: (
<>
The launch checklist alone is worth it. It caught a broken form on my own page the night before I went live. <strong>Now I send the kit to every new client</strong> before our first call.
</>
),
name: 'Marcus Hale',
role: 'Copywriter for coaches and course creators',
},
]}
actionLabel='Send Me The Starter Kit'
actionSublabel={`${sample.price} · Instant download`}
reassurance={guarantee}
onAction={() => {}}
/>
);
}
| Name | Type | Details |
|---|---|---|
heading OptionalEndorsements |
string |
Default 'Don’t just take our word for it'
|
highlight OptionalEndorsements |
string |
|
lead OptionalEndorsements |
React.ReactNode |
|
endorsements OptionalEndorsements |
Endorsement[] |
Default []
|
actionLabel OptionalEndorsements |
string |
Default ''
|
actionSublabel OptionalEndorsements |
string |
Default ''
|
reassurance OptionalEndorsements |
string |
Default ''
|
href OptionalEndorsements |
string |
|
onAction OptionalEndorsements |
() => void |
|
disabled OptionalEndorsements |
boolean |
Default false
|
state OptionalEndorsements |
'default' | 'hover' | 'active' | 'disabled' |
Default 'default'
|
className OptionalEndorsements |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-ink- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
This piece reads no image slots.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB