Testimonial Spotlight
ProOne large serif quote with a row of customers to switch between. The tallest quote reserves the space, so switching never moves the page.
The source for this block is part of Truffle Pro.
5 examples. Resize any preview to see it at phone and tablet widths.
One large serif quote with a row of customers to switch between. The tallest quote reserves the space, so switching never moves the page.
A staggered wall of rated reviews built on CSS columns, with an overall rating in the heading.
import { Star } from "lucide-react";
const quotes = [
{ name: "Priya Raman", role: "Product designer", text: "The defaults are the ones I would have picked after a week of arguing.", stars: 5 },
{ name: "Lucas Almeida", role: "Indie developer", text: "I deleted four dependencies the day I installed it. The bundle dropped by a third and nothing looked different.", stars: 5 },
{ name: "Sofia Lindqvist", role: "Engineering manager", text: "New hires ship in their first week now. The docs read like someone tested them on a real person.", stars: 5 },
{ name: "Kenji Watanabe", role: "CTO", text: "We run it in eleven countries. The date and currency handling just works.", stars: 4 },
{ name: "Maya Goldberg", role: "Frontend lead", text: "Keyboard support was already there. Our audit came back with two findings instead of forty.", stars: 5 },
{ name: "Daniel Osei", role: "Founder", text: "I showed the prototype to an investor on a train with one bar of signal. It loaded.", stars: 5 },
];
export default function TestimonialsGrid() {
return (
<section className="w-full px-6 py-16 sm:px-10 sm:py-20">
<div className="mx-auto max-w-5xl">
<div className="flex flex-wrap items-end justify-between gap-4">
<h2 className="max-w-md text-balance text-3xl font-semibold tracking-[-0.035em] sm:text-4xl">What people say after a month.</h2>
<p className="flex items-center gap-2 text-sm text-muted-foreground">
<span className="flex text-foreground" role="img" aria-label="4.9 out of 5 stars">
{[0, 1, 2, 3, 4].map((i) => <Star key={i} className="size-4 fill-current" aria-hidden />)}
</span>
4.9 from 1,280 reviews
</p>
</div>
{/* CSS columns give the staggered wall without measuring anything. */}
<ul className="mt-10 gap-4 sm:columns-2 lg:columns-3">
{quotes.map(({ name, role, text, stars }) => (
<li key={name} className="mb-4 break-inside-avoid">
<figure className="rounded-xl border border-border bg-card p-5 transition-[border-color] duration-150 hover:border-foreground/25">
<span className="flex gap-0.5" role="img" aria-label={`${stars} out of 5 stars`}>
{[0, 1, 2, 3, 4].map((i) => <Star key={i} className={`size-3.5 ${i < stars ? "fill-current text-foreground" : "text-border"}`} aria-hidden />)}
</span>
<blockquote className="mt-3 text-pretty leading-relaxed">{text}</blockquote>
<figcaption className="mt-4 border-t border-border pt-3 text-sm">
<span className="font-medium">{name}</span>
<span className="text-muted-foreground"> · {role}</span>
</figcaption>
</figure>
</li>
))}
</ul>
</div>
</section>
);
}Two rows of quotes drifting in opposite directions that pause on hover and focus.
Three customer stories led by the number that changed: one wide card and two below, each a single link with the result, a quote and who said it.
Three customer films as portrait cards with the quote over the poster. A film starts only when pressed, and starting one pauses the others.