Masonry Testimonial Wall
Quotes packed by height using CSS multi-column, with star ratings, initial avatars and no ragged bottom edge.
Testimonials reduced to the measured outcome and the conditions it happened under, for readers who skip the quotes.
components/customer-outcome-band.tsxnpx hoverlab add customer-outcome-band
Or over MCP, from your editor's agent — no account needed.
Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.
Start a page with this section — add more, order them, and leave with the page source.
Results
Most readers skip the quotes. What they do not skip is a number with a time period attached to it, and every figure here names the company it came from and how long it took.
Median first-response time at Northwind, over one quarter.
Time to a customer's first live workspace, at Arden.
Hours returned to one finance team of three, measured before and after.
Of teams past 90 days, over the last twelve months.
Rendered live in your current theme — this is the same component whose source is below, not a screenshot of it.
/**
* <CustomerOutcomeBand> — Testimonials reduced to the measured outcome and the conditions it happened under, for readers who skip the quotes.
*
* Most readers skip the quotes. The layout problem is that a testimonial
* section is built entirely out of the thing being skipped, and the obvious
* wrong answer is three more quote cards with larger photographs.
*
* What does not get skipped is a number with a time period attached. So
* every tile is a measured outcome, and every detail names both the company
* it came from and the window it was measured over — because "-63%" with no
* period is not a result, it is a shape.
*
* The second tile is written as a transition, 9 days to 2, rather than as a
* percentage. Where the before and after are both small and concrete,
* showing them beats reducing them to a ratio the reader has to unpack.
*
* The fourth tile is retention rather than an outcome, and it is last on
* purpose: it is the aggregate that says the three specific stories above
* are not the only three that exist.
*
* Every figure here is attributable. A stat band of unsourced improvements
* is the most common form of invented social proof, and if a tile cannot
* name a customer and a period it should be cut rather than softened.
*
* Accessibility: `<dl>` with `<dt>`/`<dd>` pairs, so each figure is
* announced with its label — "Support replies, -63%" — instead of as a
* floating number. `tabular-nums` aligns the digits, and the `gap-px` grid
* over a `bg-border` parent gives hairline seams with no doubled borders.
* Server component; no state, and the demo values are the defaults.
*/
export interface CustomerOutcomeBandMetric {
label: string
value: string
/** One clause on what moved, or omit for a bare figure. */
detail?: string
}
export interface CustomerOutcomeBandProps {
eyebrow?: string
heading?: string
intro?: string
metrics?: CustomerOutcomeBandMetric[]
className?: string
}
const METRICS: CustomerOutcomeBandMetric[] = [
{ label: "Support replies", value: "-63%", detail: "Median first-response time at Northwind, over one quarter." },
{ label: "Onboarding", value: "9 days → 2", detail: "Time to a customer's first live workspace, at Arden." },
{ label: "Manual reconciliation", value: "12 hrs/wk", detail: "Hours returned to one finance team of three, measured before and after." },
{ label: "Kept using it", value: "94%", detail: "Of teams past 90 days, over the last twelve months." },
]
/**
* A per-instance heading id, derived rather than generated.
*
* `React.useId()` is the textbook fix for a literal id in a reusable
* component and is not available here: this block has no `'use client'`
* and does not warrant one. It renders text, and a band that hydrates on
* every page to render text is a cost with nothing on the other side of
* it. Same call, and the same reasoning, as `footer-mega`.
*
* Hashing the heading *and* the intro is deliberate. Either alone works
* until two callers happen to agree, which is exactly what a catalog hub
* rendering every page into one document arranges for; between them they
* are the two props nobody leaves at the default.
*/
function headingId(heading: string, intro: string): string {
let hash = 0
const source = `${heading}|${intro}`
for (let i = 0; i < source.length; i++) {
hash = (Math.imul(hash, 31) + source.charCodeAt(i)) | 0
}
return `customer-outcome-band-heading-${(hash >>> 0).toString(36).slice(0, 4)}`
}
export function CustomerOutcomeBand({
eyebrow = "Results",
heading = "What changed, and over how long",
intro = "Most readers skip the quotes. What they do not skip is a number with a time period attached to it, and every figure here names the company it came from and how long it took.",
metrics = METRICS,
className,
}: CustomerOutcomeBandProps) {
return (
<section
aria-labelledby={headingId(heading, intro)}
className={`w-full bg-background px-6 py-16 sm:py-20 ${className ?? ''}`}
>
<div className="mx-auto max-w-5xl">
<p className="text-sm font-medium text-primary">{eyebrow}</p>
<h2
id={headingId(heading, intro)}
className="mt-2 text-3xl font-semibold tracking-tight text-foreground sm:text-4xl"
>
{heading}
</h2>
<p className="mt-3 max-w-2xl text-base text-muted-foreground">{intro}</p>
{/*
A <dl>, not a grid of divs. Each tile is a term and its value, and
a screen reader reading "Uptime, 99.98%" is the whole point of the
section — a div soup reads as five unrelated numbers.
*/}
<dl className="mt-10 grid grid-cols-1 gap-px overflow-hidden rounded-xl border border-border bg-border sm:grid-cols-2 lg:grid-cols-4">
{metrics.map((metric) => (
<div key={metric.label} className="min-w-0 bg-card p-6">
<dt className="truncate text-sm font-medium text-muted-foreground">{metric.label}</dt>
<dd className="mt-2 break-words text-3xl font-semibold tabular-nums tracking-tight text-foreground">
{metric.value}
</dd>
{metric.detail ? (
<p className="mt-1 text-sm text-muted-foreground">{metric.detail}</p>
) : null}
</div>
))}
</dl>
</div>
</section>
)
}
bg-card, text-muted-foreground) — it inherits your theme instead of overriding it.Drop it at components/customer-outcome-band.tsx and import it where you need the section:
import { CustomerOutcomeBand } from '@/components/customer-outcome-band'2 of this block’s props are simple enough to drive from here. Change them and the block below re-renders — it is the same component whose source is above, not a mock of it. Everything else it accepts is in the table underneath.
Read out of the component’s own type and signature, so this cannot drift from the source below. Every prop has a default — the component renders standalone before you pass it anything.
| Prop | Type | Default |
|---|---|---|
eyebrow | string | "Results" |
heading | string | "What changed, and over how long" |
intro | string | — |
metrics | CustomerOutcomeBandMetric[] | METRICS |
className | string | — |
The same block rendered once to markup, wrapped as a file your framework compiles. Tailwind classes are framework-agnostic, so the design transfers intact — the behaviour does not.
This block is interactive. The markup below is its initial state with the event handlers stripped — you will need to re-wire the behaviour in your framework.
<!--
Customer Outcome Band — markup from the Hoverlab catalog.
This is the block rendered once to HTML and wrapped as a component
file. It is not a port of the React source: the Tailwind classes carry
the design, which is the part that took the work, and they are the same
in every framework.
This block is interactive in React and the handlers are NOT here.
Buttons, toggles and menus render in their initial state and do
nothing until you wire them up.
-->
<section aria-labelledby="customer-outcome-band-heading-skw3" class="w-full bg-background px-6 py-16 sm:py-20 ">
<div class="mx-auto max-w-5xl">
<p class="text-sm font-medium text-primary">Results</p>
<h2 id="customer-outcome-band-heading-skw3" class="mt-2 text-3xl font-semibold tracking-tight text-foreground sm:text-4xl">What changed, and over how long</h2>
<p class="mt-3 max-w-2xl text-base text-muted-foreground">Most readers skip the quotes. What they do not skip is a number with a time period attached to it, and every figure here names the company it came from and how long it took.</p>
<dl class="mt-10 grid grid-cols-1 gap-px overflow-hidden rounded-xl border border-border bg-border sm:grid-cols-2 lg:grid-cols-4">
<div class="min-w-0 bg-card p-6">
<dt class="truncate text-sm font-medium text-muted-foreground">Support replies</dt>
<dd class="mt-2 break-words text-3xl font-semibold tabular-nums tracking-tight text-foreground">-63%</dd>
<p class="mt-1 text-sm text-muted-foreground">Median first-response time at Northwind, over one quarter.</p>
</div>
<div class="min-w-0 bg-card p-6">
<dt class="truncate text-sm font-medium text-muted-foreground">Onboarding</dt>
<dd class="mt-2 break-words text-3xl font-semibold tabular-nums tracking-tight text-foreground">9 days → 2</dd>
<p class="mt-1 text-sm text-muted-foreground">Time to a customer's first live workspace, at Arden.</p>
</div>
<div class="min-w-0 bg-card p-6">
<dt class="truncate text-sm font-medium text-muted-foreground">Manual reconciliation</dt>
<dd class="mt-2 break-words text-3xl font-semibold tabular-nums tracking-tight text-foreground">12 hrs/wk</dd>
<p class="mt-1 text-sm text-muted-foreground">Hours returned to one finance team of three, measured before and after.</p>
</div>
<div class="min-w-0 bg-card p-6">
<dt class="truncate text-sm font-medium text-muted-foreground">Kept using it</dt>
<dd class="mt-2 break-words text-3xl font-semibold tabular-nums tracking-tight text-foreground">94%</dd>
<p class="mt-1 text-sm text-muted-foreground">Of teams past 90 days, over the last twelve months.</p>
</div>
</dl>
</div>
</section>
What each framework gets across the whole catalog — effects convert properly; this rung is markup.
The component, its props, the design tokens it expects and the command that installs it — as one prompt. Paste it into Claude, Cursor, v0 or ChatGPT and what they build around it will match the rest of the catalog instead of inventing its own system.
Want the whole screen instead of this one section? Open a page and copy it entire.
All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.
Browse TestimonialsCopying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.
Quotes packed by height using CSS multi-column, with star ratings, initial avatars and no ragged bottom edge.
One customer, quoted at length and backed by a stat row — the section for when a single believable story argues better than a wall of five-star fragments.
A mean score over a stated sample with all five rating bands left visible, including the one-star row — proof that survives the objection every hand-picked quote wall invites.
Twenty quotes in the height of six, scrolled by CSS snap points with arrows that disable at the ends — no auto-advance, and every quote stays in the DOM for search and Cmd-F.
Poster tiles linking out to recordings, each with a pull-quote that has to land for the majority who never press play, and a drawn placeholder until you supply a still.