---
title: "Testimonial Proof"
description: "Shows social proof in one line under a hero button: a few customer faces, a star rating, and a short claim such as \"Loved by 12,000 teams\"."
url: https://gelatinui.com/components/testimonial-proof
markdown_url: https://gelatinui.com/components/testimonial-proof.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/testimonial-proof"
version: "2026-11-16"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Testimonial Proof

> Shows social proof in one line under a hero button: a few customer faces, a star rating, and a short claim such as "Loved by 12,000 teams".

Page: https://gelatinui.com/components/testimonial-proof

## When to use it

Best for: A quiet line of proof next to a call to action.

- Use three to five faces and one short claim with a number in it.

## When not to use it

- For a full quote with the words of one person, use [Testimonial](https://gelatinui.com/components/testimonial.md).

## Notes for agents

- Put `TestimonialAvatar`s in `TestimonialProofFaces`, and a `TestimonialRating` with the claim in `TestimonialProofText`.

## Anatomy

```text
TestimonialProof
├─ TestimonialProofFaces (0..n)
└─ TestimonialProofText (0..n)
```

## API reference

### TestimonialProof

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `locale` | `string` |  | The BCP 47 locale of the star score. Default: the `DisplayLocaleProvider`, else "en-US". |
| `labels` | `Partial<TestimonialLabels>` |  |  |

### TestimonialProofFaces

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `size` | `"default" \| "lg" \| "sm" \| "xl" \| "xs"` |  |  |
| `rounded` | `"default" \| "full"` |  |  |

Also takes every prop of Base UI `UseRender`: https://base-ui.com/react/components/use-render

### TestimonialProofText

No props of its own: `className`, `children`, and every other prop go to the element it renders.

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| TestimonialProof | `testimonial-proof` |  |  |  |
| TestimonialProofFaces | `testimonial-proof-faces` |  |  |  |
| TestimonialProofText | `testimonial-proof-text` |  |  |  |

## Usage

Put the faces, then the stars over the claim.

```tsx title="hero-proof.tsx"
import { TestimonialAvatar, TestimonialRating } from "@/components/social/testimonial";
import {
  TestimonialProof,
  TestimonialProofFaces,
  TestimonialProofText,
} from "@/components/pro/social/testimonial-proof";

export function HeroProof() {
  return (
    <TestimonialProof>
      <TestimonialProofFaces>
        <TestimonialAvatar name="Maya Lindqvist" />
        <TestimonialAvatar name="Jonah Okafor" />
        <TestimonialAvatar name="Amara Nwosu" />
      </TestimonialProofFaces>
      <TestimonialProofText>
        <TestimonialRating value={4.9} />
        <span>
          Loved by <strong>12,000</strong> teams
        </span>
      </TestimonialProofText>
    </TestimonialProof>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui-pro/testimonial-proof
```

It adds 37 registry items: 33 files, 6608 lines, and the npm packages `@base-ui/react`, `@dicebear/core`, `@dicebear/styles`, `@mantine/hooks`, `@phosphor-icons/react`, `clsx`, `motion`, `tailwind-merge`, `tailwind-variants`.

## Built on

- [Avatar](https://gelatinui.com/components/avatar.md)
- [Testimonial](https://gelatinui.com/components/testimonial.md)

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Testimonial](https://gelatinui.com/components/testimonial.md)
- [Avatar](https://gelatinui.com/components/avatar.md)
- [Rating](https://gelatinui.com/components/rating.md)

## Accessibility

The faces are decorative: the claim says who they are.

The stars are named "Rated 4.9 out of 5".
