Testimonials Section React block for Tailwind CSS v4
v1.0.0Added in 1.6.0
Customer quotes with people, ratings and results: a grid, featured quote, marquee, carousel, wall of love or one large quote.
Each quote is a card with an optional result ("-38% cycle time"), stars, the quote and the person with their avatar (initials when there is no photo), role and company. Grid lays the cards out in masonry columns; featured puts one large quote with the company and its result beside two small ones. Marquee scrolls two rows in opposite directions; hovering or focusing a row pauses it, and the round button below pauses and resumes both (paused rows scroll sideways by hand). Under reduced motion the rows start paused. Carousel is a swipeable rail with dots and, on desktop, arrows; the arrow keys move it when it has focus. Wall packs many compact cards in mixed formats (a result on an inverted card, a social post with a handle and a date, a short quote) into dense columns that fade out at the bottom; Show more reveals the rest and Show less folds it again. Quote shows one large quote with an oversized quotation mark, the person, their company and result; the round buttons, the dots (a counter on phones) and the arrow, Home and End keys switch quotes with a short cross-fade, and nothing plays on its own.
Testimonials Section is a Pro React block in the React marketing sections category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add testimonials-section, together with Marketing Section, Avatar, Button, Carousel, Motion presets and 2 more and the npm packages motion and lucide-react.
Built with
The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.
Add to a project
Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup
npx wingo-ui@latest add testimonials-sectionTestimonials Section is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans
Usage
Import TestimonialsSection from @/components/blocks/testimonials-section.
// app/(marketing)/customers/page.tsx
import { TestimonialsSection } from "@/components/blocks/testimonials-section"
export default function CustomersPage() {
return (
<TestimonialsSection
layout="featured"
eyebrow="Customers"
title="Teams that left spreadsheets behind"
testimonials={[
{
quote: "We planned our whole launch in Acme and shipped two weeks early.",
name: "Rachel Kim",
role: "VP of Engineering",
company: "Northwind",
rating: 5,
metric: { value: "-38%", label: "cycle time" },
},
{ quote: "Status updates just happen now.", name: "Marcus Webb", role: "Head of Product", company: "Globex" },
{ quote: "Handoffs went from a meeting to a comment.", name: "Priya Shah", role: "Design Director", company: "Wayne Studio" },
]}
/>
)
}Props
eyebrowdefault"Customers"ReactNodeThe small line over the title.
titledefault"Loved by teams that ship"ReactNodeThe section title.
descriptiondefault"From five-person startups to 40-clinic health networks, teams plan, write and ship with Acme."ReactNodeThe paragraph under the title.
actionsReactNodeButtons under the heading.
testimonialsdefault"TESTIMONIALS_SAMPLE"Testimonial[]Each quote: quote, name, role, company, companyIcon, avatar, rating, metric, handle and date. The wall without a list adds TESTIMONIALS_WALL_EXTRA between the samples.
layoutdefault"grid""grid" | "featured" | "marquee" | "carousel" | "wall" | "quote"grid: masonry columns; featured: one big quote and two small; marquee: two moving rows; carousel: a swipeable rail; wall: a dense wall of love of mixed compact cards with Show more; quote: one large quote at a time with dots and arrows.
columnsdefault32 | 3Grid columns from 1024px; tablets show two, phones one. The wall adds one more column (3 from 1024px, 4 from 1280px).
aligndefault"center""start" | "center"Where the heading sits.
carddefault"raised""raised" | "flat"A raised white card or a flat tint.
radiusdefault"md""sm" | "md" | "lg"Card corners: 12, 16 or 24px.
tonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"Stars and result figures.
colordefault""stringAny CSS color; replaces the tone. Leave empty to use the tone.
showRatingdefaulttruebooleanShows the stars of quotes that have a rating.
showMetricdefaulttruebooleanShows the result of quotes that have a metric.
durationdefault60numberMarquee: seconds for one full loop; lower is faster.
autoplaydefaulttruebooleanMarquee: the rows move on their own; false shows still rails you scroll by hand.
showPausedefaulttruebooleanMarquee: a pause and play button under the rows.
backgrounddefault"none""none" | "muted"muted sets the section on a gray band.
spacingdefault"md""none" | "sm" | "md" | "lg"Vertical padding of the section.
widthdefault"lg""sm" | "md" | "lg" | "xl"The content column: 720, 960, 1200 or 1400px.
labelsPartial<TestimonialsLabels>rating (the stars' spoken label), pause, play, carousel (the rail's name), showMore and showLess (wall), previous, next, goTo and position (quote).
classNamestringClasses for the <section>.
classNamesPartial<Record<TestimonialsSlot, string>>Classes for list, card, featured, rating, metric, quote, author, avatar, company, marquee, row, pause, wall, more, spotlight and controls.
Parts
TESTIMONIALS_SAMPLE
constantEight quotes from people at Northwind, Globex, Wayne Studio, Umbrella Health, Stark Logistics, Initech, Hooli and Vandelay.
TESTIMONIALS_WALL_EXTRA
constantEight short notes the wall mixes between the sample quotes when no list is given.
DEFAULT_TESTIMONIALS_LABELS
constantThe English strings.
Testimonial
typeOne customer quote with the person's name, role, company, avatar, rating, metric and date.
quote*ReactNodeWhat they said.
name*stringTheir name; also the avatar initials.
roleReactNodeTheir title.
companyReactNodeTheir company.
companyIconReactNodeA glyph before the company name in the featured quote.
avatarstringA photo url.
ratingnumberStars out of 5.
metric{ value: ReactNode; label: ReactNode }A result to lead with, e.g. -38% cycle time.
handlestringWall: the social handle on post cards; defaults to the name.
dateReactNodeWall: the date under a post card.
TestimonialsSectionProps
typeProps of TestimonialsSection.
Examples
Featured quote with a result
One large quote with the company and its number, two small ones beside it, on a gray band.
Marquee
Two rows drifting in opposite directions; hover, focus or the button pauses them.
Carousel with brand stars
A swipeable rail of three cards on desktop and one with a peek on phones.
Wall of love
Many short notes, posts and results in dense columns; Show more opens the rest.
One large quote
A single quote in display type; the arrows, dots or arrow keys switch to the next person.
Two flat columns, no stars
A quieter masonry grid at reading width.
Files
- components/blocks/testimonials-section.tsx
FAQ
Is the React Testimonials Section block free?
The preview, props and docs are free; copying the source needs a Pro plan. See plans.
How do I install Testimonials Section?
Run npx wingo-ui@latest add testimonials-section. It also adds the Wingo UI items it builds on (Marketing Section, Avatar, Button, Carousel, Motion presets and 2 more) and the npm packages motion and lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/testimonials-section.
How does Testimonials Section behave on phones?
Quote shows one large quote with an oversized quotation mark, the person, their company and result; the round buttons, the dots (a counter on phones) and the arrow, Home and End keys switch quotes with a short cross-fade, and nothing plays on its own.
See also
Used in
More React marketing sections
Articles using this component
- Nextjs Portfolio Template That Wins Clients
Build it: screens and apps9 min read
New components by email
New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.