# Testimonial Thread (Pro)

> Testimonials arrive like chat messages: a typing indicator beside the person's photo, then the bubble opens into their message, the thread glides up and a reaction badge springs on with its count ticking up.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Blocks › Testimonials |
| Live preview | https://uibrik.com/components/testimonial-thread |
| Writes | 1 file into `components/uibrik/testimonial-thread/` |
| Packages | `@tabler/icons-react`, `motion` (the CLI installs them) |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Dec 1, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/testimonial-thread
```

No license yet? Tell the user Testimonial Thread is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=testimonial-thread#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { TestimonialThread } from "@/components/uibrik/testimonial-thread/testimonial-thread";

const items = [
  {
    id: "sana",
    name: "Sana Qureshi",
    role: "Product Designer, Kite",
    avatar: "/registry/testimonial-thread/sana.webp",
    hue: 20,
    reaction: "heart",
    reactionCount: 12,
    message: "Shipped our new settings page in two days. It looks like we spent a month on it.",
  },
  {
    id: "kwame",
    name: "Kwame Mensah",
    role: "CTO, Lattice",
    avatar: "/registry/testimonial-thread/kwame.webp",
    hue: 150,
    reaction: "fire",
    reactionCount: 8,
    message: "Copy, paste, done. The components just fit our codebase.",
  },
  // …3 more
];

<TestimonialThread
  autoplay
  interval={2800}
  typing
  reactions
  side="alternate"
  initialCount={2}
  height={440}
  items={items}
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/testimonial-thread.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `autoplay` | `boolean` | `true` | Add messages on a timer. Holds while hovered, focused or off screen. |
| `interval` | `number` | `2800` | Time between messages. |
| `typing` | `boolean` | `true` | Show a typing indicator before each message. |
| `reactions` | `boolean` | `true` | Pop a reaction onto each new message. |
| `side` | `"alternate" \| "left"` | `"alternate"` | Switch sides like a conversation, or keep every bubble on the left. |
| `initialCount` | `number` | `2` | Messages in the thread on first paint. |
| `height` | `number` | `440` | Height of the thread. Older messages fade out at the top. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `items` | `{ id: string; name: string; role?: string; message: string; avatar: string; hue: number; reaction?: "heart" \| "fire" \| "star" \| "thumb"; reactionCount?: number }[]` | `SAMPLE_THREAD` | People in the thread. `hue` is an OKLCH hue (0–360) that tints their bubble; `reactionCount` is the number on the reaction badge. |
| `className` | `string` |  | Classes for the thread. |

## Where it fits

- **Landing page social proof**: A thread that keeps filling in reads as people talking about the product right now. Pairs with [Testimonial Notifications](https://uibrik.com/components/testimonial-notifications.md).
- **Chat and messaging products**: Testimonials shown as messages match what the product does. Pairs with [Avatar Stack](https://uibrik.com/components/avatar-stack.md).
- **Narrow side columns**: One column of short bubbles fits beside a signup form or pricing table. Pairs with [Testimonial Wall](https://uibrik.com/components/testimonial-wall.md) (Pro).

## Same shelf: Testimonials

- [Testimonial Carousel](https://uibrik.com/components/testimonial-carousel.md): One large quote at a time over a faint oversized quote mark, with a pill pager below; the frame eases to each quote's height, and it swipes and steps with the arrow keys.
- [Testimonial Notifications](https://uibrik.com/components/testimonial-notifications.md): Testimonials arrive like lock-screen notifications: each new one drops in on top while the rest settle into a stack behind it, and hovering or tapping opens it over the page as a scrolling list, however many there are.
- [Testimonial Wall](https://uibrik.com/components/testimonial-wall.md) (Pro): Columns or rows of quote cards that scroll endlessly at their own pace, neighbours running against each other; hovering a lane stops it so the quote can be read.
- [Mesh Testimonial](https://uibrik.com/components/mesh-testimonial.md) (Pro): Tall testimonial cards painted with a live mesh gradient in each person's own colour, in an endless row that autoplays, drags and steps with arrows; paint every card, or only the one in the spotlight.
- [Testimonial Bubbles](https://uibrik.com/components/testimonial-bubbles.md) (Pro): Customer photos float in a cluster of different sizes; pick one and it glides to the centre, its neighbours drift aside, and the bubble opens into a card with the quote.
- [Testimonial Orbit](https://uibrik.com/components/testimonial-orbit.md) (Pro): Customer photos on a slow ring around one quote; picking a face flies it into the middle while the quote cross-fades. On narrow screens the ring becomes an arch above the quote.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/testimonial-thread/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
