Testimonials Big Quote
Full-bleed blue section showing one giant uppercase quote at a time with a tilted yellow metric card, author row, pressable prev/next buttons and bar-shaped pagination.
brutalist/section/testimonials-big-quoteSource
"use client";
import { useState } from "react";
import { ArrowLeft, ArrowRight } from "lucide-react";
import { cn } from "@/lib/utils";
export interface TestimonialsBigQuoteItem {
quote: string;
name: string;
role: string;
company: string;
metric?: { value: string; label: string };
}
export interface TestimonialsBigQuoteProps {
kicker?: string;
items?: TestimonialsBigQuoteItem[];
className?: string;
}
const DEFAULT_ITEMS: TestimonialsBigQuoteItem[] = [
{
quote: "Our changelog went from a graveyard to the third most visited page on the site.",
name: "Priya Raman",
role: "VP Marketing",
company: "Kitewire",
metric: { value: "3rd", label: "most visited page" },
},
{
quote: "We shipped 60 releases last quarter and wrote exactly zero release notes by hand.",
name: "Jonas Lindqvist",
role: "Staff Engineer",
company: "Northdesk",
metric: { value: "60", label: "releases, 0 manual notes" },
},
{
quote: "Adoption of the new reporting module doubled in two weeks. Same feature — people just knew it existed.",
name: "Tomás Varga",
role: "Growth PM",
company: "Parcelo",
metric: { value: "2×", label: "feature adoption" },
},
];
export function TestimonialsBigQuote({ kicker = "[ 05 ] Don't take our word", items = DEFAULT_ITEMS, className }: TestimonialsBigQuoteProps) {
const [index, setIndex] = useState(0);
const item = items[index] ?? items[0];
if (!item) return null;
const go = (d: number) => setIndex((i) => (i + d + items.length) % items.length);
return (
<section
className={cn("da-section da-stroke-b bg-da-secondary text-da-secondary-fg", className)}
aria-roledescription="carousel"
aria-label="Customer testimonials"
>
<div className="da-container">
<div className="flex items-center justify-between gap-4">
<p className="font-da-mono text-xs font-bold tracking-da-label uppercase">{kicker}</p>
<p className="font-da-mono text-xs font-bold" aria-hidden>
{String(index + 1).padStart(2, "0")} / {String(items.length).padStart(2, "0")}
</p>
</div>
<figure key={index} aria-live="polite" className="mt-10 grid gap-10 lg:grid-cols-[1fr_auto] lg:items-end">
<blockquote className="font-da-display text-[clamp(2rem,5.5vw,4.5rem)] leading-[1] tracking-da-display uppercase">
<span aria-hidden>“</span>
{item.quote}
<span aria-hidden>”</span>
</blockquote>
{item.metric && (
<p className="da-stroke rotate-2 self-start bg-da-primary p-5 text-da-primary-fg shadow-da-md lg:self-end">
<span className="block font-da-display text-5xl tracking-da-display">{item.metric.value}</span>
<span className="font-da-mono text-xs font-bold uppercase">{item.metric.label}</span>
</p>
)}
<figcaption className="flex items-center gap-4 lg:col-span-2">
<span aria-hidden className="da-stroke grid size-12 place-items-center bg-da-surface font-da-mono font-bold text-da-surface-fg">
{item.name
.split(" ")
.map((w) => w[0])
.join("")}
</span>
<span>
<span className="block text-lg font-bold">{item.name}</span>
<span className="opacity-85">
{item.role}, {item.company}
</span>
</span>
</figcaption>
</figure>
<div className="mt-10 flex items-center gap-3">
<button
type="button"
onClick={() => go(-1)}
aria-label="Previous testimonial"
className="da-focus da-stroke grid size-12 place-items-center bg-da-surface text-da-surface-fg shadow-da-sm hover:translate-x-[3px] hover:translate-y-[3px] hover:shadow-none"
>
<ArrowLeft aria-hidden className="size-5" strokeWidth={3} />
</button>
<button
type="button"
onClick={() => go(1)}
aria-label="Next testimonial"
className="da-focus da-stroke grid size-12 place-items-center bg-da-fg text-da-bg shadow-da-sm hover:translate-x-[3px] hover:translate-y-[3px] hover:shadow-none"
>
<ArrowRight aria-hidden className="size-5" strokeWidth={3} />
</button>
<div className="ml-4 flex gap-2" role="group" aria-label="Choose testimonial">
{items.map((t, i) => (
<button
key={t.name}
type="button"
onClick={() => setIndex(i)}
aria-label={`Testimonial ${i + 1}: ${t.name}`}
aria-current={i === index}
className={cn("da-focus da-stroke h-3 transition-[width] duration-(--da-duration)", i === index ? "w-10 bg-da-primary" : "w-3 bg-da-surface")}
/>
))}
</div>
</div>
</div>
</section>
);
}
export default TestimonialsBigQuote;
modules/brutalist/section/testimonials-big-quote/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| kicker | string | — | Mono label. |
| items | TestimonialsBigQuoteItem[] | — | { quote, name, role, company, metric?: { value, label } }[]. |
| className | string | — | Classes on the <section>. |
Other testimonials variants in Brutalist
Testimonials Logos
Case-study strip: four ruled cells, each with a company wordmark, a giant result number, its label and a one-line quote, alternating solid and paper tones.
Testimonials Posts
Social-post wall: ruled cards styled like timeline posts (square colored avatar, handle, date, casual copy, reply/repost/like counts) in a 3-column grid with a 'see more' CTA.
Testimonials Wall
Wall of quote cards in alternating solid colors with hard shadows, initials avatars and optional rotated metric stickers ("2× adoption").
Testimonials in other art directions
Testimonials Deck
Stacked deck of glass testimonial cards offset in depth; a ‘Next story’ button sends the top card to the back and the others slide forward, with a live counter.
Testimonials Marquee
Two rows of frosted testimonial cards scrolling infinitely in opposite directions with faded edges, pause on hover, star rating summary above. A static sr-only list carries the content for assistive tech.
Testimonials Masonry
Rating summary pill (stars, 4.9/5, review count) above a masonry wall of glass quote cards with star ratings; one highlight card is filled with the brand gradient.
Testimonials Video
Three video-testimonial glass cards with gradient posters, initials, play button and duration; opening one expands a glass player panel above with headline, quote and author.
Testimonials Carousel
One large quote at a time with initials avatar and role, cross-fading between slides; progress dots, a 01 / 04 counter and round prev/next buttons, arrow-key navigation.
Testimonials Case Studies
Three case-study cards led by an oversized mono metric in indigo (−71% pages), a short quote, author and a Read the story link that makes the whole card clickable.
Testimonials Grid
Asymmetric testimonial grid: one large featured quote with a headline metric, flanked by two compact quotes, then a second row. Hairline cards, initials avatars, no logos needed.
Testimonials Posts
Masonry wall of social-post cards in 1–3 CSS columns: initials avatar, name and handle, post text, date and like count. Hairline cards, centered header.
Testimonials Grid
Hairline grid of short quotes (gap-px on a border-colored background) — 3 columns desktop, each cell with the quote and mono attribution; no cards, no shadows.
Testimonials List
Testimonials as an editorial ruled list: each row pairs a mono index + name/studio/city on the left with the quote on the right in a larger size; rows separated by hairlines.
Testimonials Marquee
Slow horizontal ticker of short quotes in large display type, separated by signal dots, between two ink rules; pauses on hover, static and wrapped with reduced motion. Pure CSS.
Testimonials Quote
One oversized pull quote set in the display face with a hanging opening quote mark, mono attribution under a short ink rule; lots of whitespace.
Testimonials Cards
Clean 3-column grid of bordered quote cards with company name header, quote, and initials avatar + role footer divided by a hairline.
Testimonials Case Study
Featured customer story: bordered card split into a company quote (logo wordmark, quote, author) and a tinted column of three big result metrics with a “Read the case study” link.
Testimonials Logos
Row of customer wordmark buttons acting as tabs; selecting one swaps the quote, author and key metric below.
Testimonials Ratings
Review-site proof: rating tiles per platform (score + stars + review count), a row of award badges, and two review excerpts.
Testimonials Carousel
Gentle one-at-a-time carousel on a sage band: serif quote cross-fades, round prev/next buttons, leaf-shaped position dots; no autoplay.
Testimonials Notes
Kind words as handwritten-feeling notes: slightly tilted paper/sage/clay cards with italic serif quotes and a small “pinned” dot, straightening on hover.
Testimonials Portrait
Single large testimonial: an arch-shaped sage “portrait” with big initials and a leaf, next to a large serif quote, attribution and a clay result chip.
Testimonials Wall
Masonry wall of soft rounded quote cards in mixed tints (CSS columns), each with a small leaf-dot avatar, name and role.
Testimonials Bubbles
Testimonials as a friendly group chat: alternating pastel speech bubbles with round avatars and names inside a big white phone-like card, next to the section title.
Testimonials Notes
Wall of pastel sticky notes, slightly rotated with a round periwinkle pin on top, each holding a bold short quote and author; notes straighten on hover.
Testimonials Slider
Horizontal slider of pastel testimonial cards with star ratings; round prev/next buttons move one card at a time and pill dots show the position.
Testimonials Spotlight
One big quote on a mint block with a giant quote mark, a flat shape avatar, three white stat bubbles and a row of customer wordmarks below.