# Testimonials Section

> Customer quotes with people, ratings and results: a grid, featured quote, marquee, carousel, wall of love or one large quote.

- Type: React block (Marketing Sections)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.0.0
- Install: `npx wingo-ui@latest add testimonials-section`
- Docs: https://wingo-ui.com/components/testimonials-section

## Interaction

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.

## Installation

```bash
npx wingo-ui@latest add testimonials-section
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/testimonials-section` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/blocks/testimonials-section.tsx`

npm dependencies: `npm i motion lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [Button](https://wingo-ui.com/components/button) ([Markdown](https://wingo-ui.com/components/button.md))
- [Carousel](https://wingo-ui.com/components/carousel) ([Markdown](https://wingo-ui.com/components/carousel.md))
- [Motion presets](https://wingo-ui.com/components/motion) ([Markdown](https://wingo-ui.com/components/motion.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// 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

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow?` | `ReactNode` | `"Customers"` | The small line over the title. |
| `title?` | `ReactNode` | `"Loved by teams that ship"` | The section title. |
| `description?` | `ReactNode` | `"From five-person startups to 40-clinic health networks, teams plan, write and ship with Acme."` | The paragraph under the title. |
| `actions?` | `ReactNode` |  | Buttons under the heading. |
| `testimonials?` | `Testimonial[]` | `"TESTIMONIALS_SAMPLE"` | 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. |
| `layout?` | `"grid" \| "featured" \| "marquee" \| "carousel" \| "wall" \| "quote"` | `"grid"` | 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. |
| `columns?` | `2 \| 3` | `3` | Grid columns from 1024px; tablets show two, phones one. The wall adds one more column (3 from 1024px, 4 from 1280px). |
| `align?` | `"start" \| "center"` | `"center"` | Where the heading sits. |
| `card?` | `"raised" \| "flat"` | `"raised"` | A raised white card or a flat tint. |
| `radius?` | `"sm" \| "md" \| "lg"` | `"md"` | Card corners: 12, 16 or 24px. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Stars and result figures. |
| `color?` | `string` | `""` | Any CSS color; replaces the tone. Leave empty to use the tone. |
| `showRating?` | `boolean` | `true` | Shows the stars of quotes that have a rating. |
| `showMetric?` | `boolean` | `true` | Shows the result of quotes that have a metric. |
| `duration?` | `number` | `60` | Marquee: seconds for one full loop; lower is faster. |
| `autoplay?` | `boolean` | `true` | Marquee: the rows move on their own; false shows still rails you scroll by hand. |
| `showPause?` | `boolean` | `true` | Marquee: a pause and play button under the rows. |
| `background?` | `"none" \| "muted"` | `"none"` | muted sets the section on a gray band. |
| `spacing?` | `"none" \| "sm" \| "md" \| "lg"` | `"md"` | Vertical padding of the section. |
| `width?` | `"sm" \| "md" \| "lg" \| "xl"` | `"lg"` | The content column: 720, 960, 1200 or 1400px. |
| `labels?` | `Partial<TestimonialsLabels>` |  | rating (the stars' spoken label), pause, play, carousel (the rail's name), showMore and showLess (wall), previous, next, goTo and position (quote). |
| `className?` | `string` |  | Classes for the <section>. |
| `classNames?` | `Partial<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 (constant)

Eight quotes from people at Northwind, Globex, Wayne Studio, Umbrella Health, Stark Logistics, Initech, Hooli and Vandelay.

### TESTIMONIALS_WALL_EXTRA (constant)

Eight short notes the wall mixes between the sample quotes when no list is given.

### DEFAULT_TESTIMONIALS_LABELS (constant)

The English strings.

### Testimonial (type)

One customer quote with the person's name, role, company, avatar, rating, metric and date.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `quote` | `ReactNode` |  | What they said. |
| `name` | `string` |  | Their name; also the avatar initials. |
| `role?` | `ReactNode` |  | Their title. |
| `company?` | `ReactNode` |  | Their company. |
| `companyIcon?` | `ReactNode` |  | A glyph before the company name in the featured quote. |
| `avatar?` | `string` |  | A photo url. |
| `rating?` | `number` |  | Stars out of 5. |
| `metric?` | `{ value: ReactNode; label: ReactNode }` |  | A result to lead with, e.g. -38% cycle time. |
| `handle?` | `string` |  | Wall: the social handle on post cards; defaults to the name. |
| `date?` | `ReactNode` |  | Wall: the date under a post card. |

### TestimonialsSectionProps (type)

Props 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.

## See also

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Carousel](https://wingo-ui.com/components/carousel) ([Markdown](https://wingo-ui.com/components/carousel.md))
- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [Rating](https://wingo-ui.com/components/rating) ([Markdown](https://wingo-ui.com/components/rating.md))
- [Pricing Page](https://wingo-ui.com/components/pricing-page) ([Markdown](https://wingo-ui.com/components/pricing-page.md))

---

Canonical: https://wingo-ui.com/components/testimonials-section
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
