Press Quote Wall 1
Press quote wall: reviewers' own words set as display type on a dark stage. One lead line sits beside the product, the rest form a tight wall, and the action closes the section.
Use it in a prompt
Use proof/press-quote-wall 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/press-quote-wall.tsx. - Import it and pass your copy and images (Props tab):
import { PressQuoteWall } from "@/components/funneldna/proof/press-quote-wall"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/proof/press-quote-wall/component.tsx 322 lines
// layout: quote-led
// Press quote wall: reviewers' own words set as display type on a dark stage. One lead line sits beside the product, the rest form a tight wall, and the action closes the section.
import React from "react";
import { BookOpen } from "lucide-react";
import { BackdropVideo, FX_HOST } from "../fx/fx";
import steam from "../fx/loops/steam";
export type PressQuote = {
/** The writer's words, exactly as published. */
quote: string;
/** Outlet name, shown in small caps (or used as the logo's alt text). */
outlet?: string;
/** A supplied outlet logo image. Light or reversed art reads best on the band. */
outletLogo?: string;
/** The writer's name. */
writer?: string;
/** Link to the published piece. When present, it reveals "Read the piece". */
url?: string;
/** Runs full width at the top, beside the product. The first marked quote wins. */
lead?: boolean;
};
export type PressQuoteWallProps = {
/** Supplied press quotes. Empty renders nothing. */
quotes?: PressQuote[];
headline?: React.ReactNode;
/** Optional line under the headline. */
intro?: React.ReactNode;
/** Product cut-out beside the lead quote (slot "product"). */
productImage?: string;
productAlt?: string;
ctaLabel?: string;
/** Second button line for the price and terms, e.g. "$47 · 30-day money-back guarantee". */
ctaSubline?: string;
href?: string;
onAction?: () => void;
/** "reversed" shows supplied logos as solid light silhouettes on the band. */
logoTreatment?: "original" | "reversed";
/** Looping backdrop (an fx loop module). Pass null for a flat band. */
backdropVideo?: typeof steam | null;
copy?: {
readLabel?: string;
/** Placeholders: {label}, {outlet}. */
readAria?: string;
/** Placeholder: {label}. */
readAriaNoOutlet?: string;
};
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
const DEFAULT_COPY = {
readLabel: "Read the piece",
readAria: "{label} in {outlet} (opens in a new tab)",
readAriaNoOutlet: "{label} (opens in a new tab)",
};
type Item = PressQuote & { text: string; i: number };
export function PressQuoteWall(props: PressQuoteWallProps) {
const {
quotes = [],
headline = "Don't take our word for it. Read what they wrote.",
intro,
productImage,
productAlt = "",
ctaLabel = "Get my copy",
ctaSubline = "",
href,
onAction,
logoTreatment = "original",
backdropVideo = steam,
copy,
state = "default",
className,
} = props;
const headId = React.useId();
const [active, setActive] = React.useState<number | null>(null);
const t = { ...DEFAULT_COPY, ...copy };
const items: Item[] = quotes
.map((q, i) => ({ ...q, text: clean(q?.quote), i }))
.filter((q) => q.text.length > 0);
if (!items.length) return null;
const leadItem = items.find((q) => q.lead);
const rest = items.filter((q) => q !== leadItem);
const forcedItem = state === "hover" ? rest.find((q) => safeUrl(q.url)) ?? rest[0] ?? leadItem : undefined;
const on = active ?? (forcedItem ? forcedItem.i : null);
const disabled = state === "disabled";
const renderQuote = (q: Item, isLead: boolean, order: number) => {
const url = safeUrl(q.url);
const outlet = q.outlet?.trim();
const writer = q.writer?.trim();
const hasSource = Boolean(outlet || q.outletLogo || writer);
const aria = outlet
? fill(t.readAria, { label: t.readLabel, outlet })
: fill(t.readAriaNoOutlet, { label: t.readLabel });
return (
<figure
key={q.i}
className={cx(
"cf-pqw-q",
isLead && "is-lead",
on === q.i && "is-on",
on !== null && on !== q.i && "is-dim"
)}
style={{ "--d": `${Math.min(order * 0.07, 0.28)}s` } as React.CSSProperties}
onPointerEnter={(e) => {
if (e.pointerType === "mouse") setActive(q.i);
}}
onPointerLeave={(e) => {
if (e.pointerType === "mouse") setActive(null);
}}
onFocus={() => setActive(q.i)}
onBlur={(e) => {
if (!e.currentTarget.contains(e.relatedTarget as Node | null)) setActive(null);
}}
>
<blockquote className="cf-pqw-bq" cite={url}>
<p className={cx("cf-pqw-text", tierFor(q.text, isLead))}>
<span className="cf-pqw-open" aria-hidden="true">“</span>
{q.text}
<span aria-hidden="true">”</span>
</p>
</blockquote>
{(hasSource || url) && (
<figcaption className="cf-pqw-cap">
{hasSource && <span className="cf-pqw-rule" aria-hidden="true" />}
{q.outletLogo ? (
<img
className={cx("cf-pqw-logo", logoTreatment === "reversed" && "is-reversed")}
src={q.outletLogo}
alt={outlet || ""}
loading="lazy"
/>
) : outlet ? (
<cite className="cf-pqw-outlet">{outlet}</cite>
) : null}
{writer && <span className="cf-pqw-writer">{writer}</span>}
{url && (
<a className="cf-pqw-read" href={url} target="_blank" rel="noopener noreferrer" aria-label={aria}>
<BookOpen className="cf-pqw-ico" size={16} strokeWidth={2.5} aria-hidden="true" />
{t.readLabel}
</a>
)}
</figcaption>
)}
</figure>
);
};
const btnClass = cx("cf-pqw-btn", state === "active" && "is-pressed", state === "hover" && "is-hover");
const btnInner = (
<>
<span className="cf-pqw-btn-l">{ctaLabel}</span>
{ctaSubline && <span className="cf-pqw-btn-s">{ctaSubline}</span>}
</>
);
return (
<section
className={cx("cf-pqw", className)}
style={FX_HOST}
aria-labelledby={headline ? headId : undefined}
>
<style>{CSS}</style>
{backdropVideo && <BackdropVideo video={backdropVideo} treatment="scrim-dark" control="bottom-right" />}
<div className="cf-pqw-in">
{(headline || intro) && (
<header className="cf-pqw-head">
{headline && (
<h2 id={headId} className="cf-pqw-h">
{headline}
</h2>
)}
{intro && <p className="cf-pqw-intro">{intro}</p>}
</header>
)}
<div className="cf-pqw-wall">
{leadItem && (
<div
className={cx(
"cf-pqw-leadrow",
productImage && "has-product",
rest.length === 0 && "is-alone"
)}
>
{renderQuote(leadItem, true, 0)}
{productImage && <img className="cf-pqw-product" src={productImage} alt={productAlt} />}
</div>
)}
{rest.length > 0 && (
<div className="cf-pqw-cols" data-count={Math.min(rest.length, 3)}>
{rest.map((q, n) => renderQuote(q, false, n + (leadItem ? 1 : 0)))}
</div>
)}
</div>
{ctaLabel && (
<div className="cf-pqw-act">
{href && !disabled ? (
<a className={btnClass} href={href} onClick={onAction ? () => onAction() : undefined}>
{btnInner}
</a>
) : (
<button
type="button"
className={btnClass}
disabled={disabled}
onClick={onAction ? () => onAction() : undefined}
>
{btnInner}
</button>
)}
</div>
)}
</div>
</section>
);
}
export default PressQuoteWall;
const MARKS = ['"', "“", "”"];
function clean(text?: string) {
let s = (text ?? "").trim();
while (s && MARKS.includes(s[0])) s = s.slice(1).trim();
while (s && MARKS.includes(s[s.length - 1])) s = s.slice(0, -1).trim();
return s;
}
function safeUrl(url?: string) {
const u = (url ?? "").trim();
if (!u) return undefined;
const lower = u.toLowerCase();
return ["https://", "http://", "/", "#", "./", "../"].some((p) => lower.startsWith(p)) ? u : undefined;
}
/** Shorter quotes are set larger: the size follows the length. */
function tierFor(text: string, isLead: boolean) {
const n = text.length;
if (isLead) return n <= 90 ? "t-hero" : "t-xl";
if (n <= 44) return "t-xl";
if (n <= 120) return "t-lg";
return "t-md";
}
function fill(template: string, map: Record<string, string>) {
return Object.keys(map).reduce((s, k) => s.split("{" + k + "}").join(map[k]), template);
}
function cx(...parts: Array<string | false | null | undefined>) {
return parts.filter(Boolean).join(" ");
}
const CSS = `
.cf-pqw{position:relative;isolation:isolate;overflow:hidden;background:var(--band);color:var(--band-ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) calc(clamp(64px,8.5vw,120px) + 24px)}
.cf-pqw-in{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.cf-pqw-head{max-width:46rem}
.cf-pqw-h{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;text-wrap:balance;color:var(--band-ink)}
.cf-pqw-intro{margin:16px 0 0;max-width:60ch;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;text-wrap:pretty;color:color-mix(in oklch,var(--band-ink) 86%,var(--band))}
.cf-pqw-head + .cf-pqw-wall{margin-top:clamp(40px,5vw,64px)}
.cf-pqw-leadrow{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start;padding-bottom:clamp(40px,5vw,64px);margin-bottom:clamp(40px,5vw,64px);border-bottom:1px solid oklch(from var(--band-ink) l c h / 0.16)}
.cf-pqw-leadrow.has-product{grid-template-columns:minmax(0,1fr) clamp(200px,24vw,300px)}
.cf-pqw-leadrow.is-alone{padding-bottom:0;margin-bottom:clamp(40px,5vw,56px);border-bottom:0}
.cf-pqw-product{display:block;justify-self:end;width:100%;max-width:300px;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center top;filter:drop-shadow(0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.5)) drop-shadow(0 16px 18px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.45))}
.cf-pqw-q{margin:0;display:grid;gap:20px;align-content:start;color:var(--band-ink);transition:color .2s ease;animation:cf-pqw-rise .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d,0s)}
.cf-pqw-q.is-lead{gap:28px}
.cf-pqw-bq{margin:0}
.cf-pqw-text{margin:0;font-family:var(--font-display);color:inherit}
.cf-pqw-text.t-hero{font-size:clamp(2.5rem,5.4vw,4.875rem);line-height:1.04;font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-wrap:balance}
.cf-pqw-text.t-xl{font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-wrap:balance}
.cf-pqw-text.t-lg{font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.22;font-weight:700;letter-spacing:-0.01em;text-wrap:pretty}
.cf-pqw-text.t-md{font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:700;letter-spacing:-0.005em;text-wrap:pretty}
.cf-pqw-cap{display:grid;gap:6px;justify-items:start}
.cf-pqw-rule{display:block;width:40px;height:3px;margin-bottom:6px;border-radius:2px;background:var(--accent-fill,var(--accent));transition:width .2s ease,opacity .2s ease}
.cf-pqw-q.is-on .cf-pqw-rule{width:64px}
.cf-pqw-outlet{font-style:normal;font-size:1.0625rem;line-height:1.2;font-weight:800;font-variant-caps:all-small-caps;letter-spacing:.06em;color:inherit}
.cf-pqw-logo{display:block;height:28px;width:auto;max-width:180px;object-fit:contain;object-position:left center;transition:opacity .2s ease}
.cf-pqw-logo.is-reversed{filter:brightness(0) invert(1)}
.cf-pqw-writer{font-size:.9375rem;line-height:1.4;font-weight:500;color:color-mix(in oklch,var(--band-ink) 80%,var(--band));transition:color .2s ease}
.cf-pqw-read{justify-self:start;margin-top:6px;color:inherit;font-size:.9375rem;line-height:1.4;font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:oklch(from var(--band-ink) l c h / 0.45);text-underline-offset:.18em;border-radius:4px;transition:opacity .2s ease,transform .2s ease,text-decoration-color .16s ease}
.cf-pqw-read:hover{text-decoration-color:currentColor}
.cf-pqw-read:focus-visible{outline:2px solid var(--band-ink);outline-offset:3px}
.cf-pqw-ico{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em}
@media (hover:hover) and (pointer:fine){
.cf-pqw-read{opacity:0;transform:translateY(4px)}
.cf-pqw-q.is-on .cf-pqw-read,.cf-pqw-q:focus-within .cf-pqw-read{opacity:1;transform:none}
}
.cf-pqw-q.is-dim{color:color-mix(in oklch,var(--band-ink) 58%,var(--band))}
.cf-pqw-q.is-dim .cf-pqw-writer{color:color-mix(in oklch,var(--band-ink) 58%,var(--band))}
.cf-pqw-q.is-dim .cf-pqw-logo{opacity:.5}
.cf-pqw-q.is-dim .cf-pqw-rule{opacity:.45}
.cf-pqw-cols{columns:3 17rem;column-gap:clamp(32px,4vw,56px)}
.cf-pqw-cols[data-count="2"]{columns:2 17rem}
.cf-pqw-cols[data-count="1"]{columns:1;max-width:46rem}
.cf-pqw-cols > .cf-pqw-q{break-inside:avoid;margin-bottom:clamp(40px,4.5vw,56px)}
.cf-pqw-act{margin-top:clamp(8px,1vw,16px);display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.cf-pqw-btn{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-height:72px;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--button-bg, var(--cta)) calc(l + 0.04) c h),oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.02) c h));color:var(--button-ink,var(--cta-ink));font-family:var(--button-font,var(--font-display));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);text-shadow:var(--button-text-shadow,none);text-align:center;text-decoration:none;cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg, var(--cta)) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h),0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4),0 8px 16px -6px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.5));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-pqw-btn-l{font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;text-wrap:balance}
.cf-pqw-btn-s{margin-top:4px;font-family:var(--font-body);font-size:.9375rem;line-height:1.3;font-weight:600;text-wrap:pretty}
.cf-pqw-btn:hover:not(:disabled),.cf-pqw-btn.is-hover{background:linear-gradient(oklch(from var(--button-bg, var(--cta)) calc(l - 0.01) c h),oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg, var(--cta)) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.18) c h),0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.45),0 10px 18px -6px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.6))}
.cf-pqw-btn:active:not(:disabled),.cf-pqw-btn.is-pressed{transform:translateY(1px);background:linear-gradient(oklch(from var(--button-bg, var(--cta)) calc(l - 0.04) c h),oklch(from var(--button-bg-2, var(--cta-2)) calc(l - 0.08) c h));box-shadow:inset 0 2px 4px oklch(from var(--button-bg, var(--cta)) calc(l - 0.22) c h / 0.5),inset 0 -2px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.16) c h),0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4)}
.cf-pqw-btn:focus-visible{outline:3px solid var(--band-ink);outline-offset:3px}
.cf-pqw-btn:disabled{background:var(--button-2-bg,var(--secondary));color:var(--button-2-ink,var(--secondary-ink));box-shadow:var(--button-2-shadow,var(--shadow-sm));text-shadow:none;cursor:not-allowed;transform:none}
@keyframes cf-pqw-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (min-width:720px){.cf-pqw-open{margin-left:-.42em}}
@media (max-width:760px){
.cf-pqw-leadrow.has-product{grid-template-columns:minmax(0,1fr)}
.cf-pqw-product{justify-self:start;max-width:180px}
}
@media (max-width:560px){
.cf-pqw-act{display:block}
.cf-pqw-btn{display:flex;width:100%}
}
@media (prefers-reduced-motion:reduce){
.cf-pqw .cf-pqw-q,.cf-pqw .cf-pqw-read,.cf-pqw .cf-pqw-rule,.cf-pqw .cf-pqw-logo,.cf-pqw .cf-pqw-writer,.cf-pqw .cf-pqw-btn{animation:none;transition:none}
.cf-pqw .cf-pqw-btn.is-pressed,.cf-pqw .cf-pqw-btn:active{transform:none}
}
`;
pieces/proof/press-quote-wall/specimen.tsx 65 lines
import __studioImagec9a38f21 from "../assets/8c49a432c7d80589.webp";
import { PressQuoteWall } from "../press-quote-wall";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"];
type State = "default" | "hover" | "active" | "disabled";
export default function PressQuoteWallSpecimen({ state = "default" }: { state?: State }) {
const sample = defaults.sample;
return (
<PressQuoteWall
state={state}
headline="The weeknight cookbook food writers keep cooking from"
intro="Their words, straight from the reviews. Open any piece to read it in full."
productImage={slot(
"product",
__studioImagec9a38f21
)}
productAlt="Hearth & Pantry hardcover cookbook"
quotes={[
{
quote: "The rare cookbook that lives by the stove, not on the shelf.",
outlet: "The Weeknight Table",
writer: "Mara Ellison",
url: "https://example.com/weeknight-table/hearth-and-pantry-review",
lead: true,
},
{
quote: "Dinner, solved. Every single page.",
outlet: "Simmer Quarterly",
writer: "Theo Park",
url: "https://example.com/simmer-quarterly/hearth-and-pantry",
},
{
quote: "The pantry chapter alone changed how I shop. Six staples, forty dinners, and not one sad Tuesday.",
outlet: "Crumb & Ledger",
writer: "Priya Natarajan",
},
{
quote:
"Finally, a book that assumes you're tired at 6pm and still want something good. The one-pan braises are worth the cover price alone, and the make-ahead notes read like advice from a friend who has actually fed a family on a Wednesday.",
outlet: "The Sunday Larder",
writer: "Jonah Reyes",
url: "https://example.com/sunday-larder/books/hearth-and-pantry",
},
{
quote: "Warm, practical and quietly brilliant.",
outlet: "Home Kitchen Post",
writer: "Elise Moreau",
},
{
quote: "I cooked eleven recipes in two weeks. That never happens with a new cookbook.",
outlet: "The Mise Letter",
writer: "Sam Okafor",
url: "https://example.com/mise-letter/issue-42",
},
]}
ctaLabel="Start cooking tonight"
ctaSubline={`${sample.price} · ${sample.guarantee}`}
onAction={() => undefined}
/>
);
}
| Name | Type | Details |
|---|---|---|
quotes OptionalPressQuoteWall |
PressQuote[] |
|
headline OptionalPressQuoteWall |
React.ReactNode |
|
intro OptionalPressQuoteWall |
React.ReactNode |
|
productImage OptionalPressQuoteWall |
string |
|
productAlt OptionalPressQuoteWall |
string |
|
ctaLabel OptionalPressQuoteWall |
string |
|
ctaSubline OptionalPressQuoteWall |
string |
|
href OptionalPressQuoteWall |
string |
|
onAction OptionalPressQuoteWall |
() => void |
|
logoTreatment OptionalPressQuoteWall |
"original" | "reversed" |
|
backdropVideo OptionalPressQuoteWall |
typeof steam | null |
|
copy OptionalPressQuoteWall |
{
readLabel?: string;
/** Placeholders: {label}, {outlet}. */
readAria?: string;
/** Placeholder: {label}. */
readAriaNoOutlet?: string;
} |
|
state OptionalPressQuoteWall |
"default" | "hover" | "active" | "disabled" |
|
className OptionalPressQuoteWall |
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--button-2-shadow- Secondary button.
--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.
product- The main product shot or cover (ebook, kit, bottle).
-
3280957150211a63.webp
image/webp · 25.4 KB
- 741f8b94f6c0ae1c.webm video/webm · 168 KB
-
8c49a432c7d80589.webp
image/webp · 51.2 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
- e5a55080678e557b.mp4 video/mp4 · 186 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB