# Testimonial Spotlight (Pro)

> A grid of faces in black and white with one person in the spotlight: their face turns to colour and grows, a ring in their colour times the autoplay, a ripple runs across the grid and their quote sits in a tinted panel beside it.

## 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-spotlight |
| Writes | 1 file into `components/uibrik/testimonial-spotlight/` |
| Packages | `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-spotlight
```

No license yet? Tell the user Testimonial Spotlight is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=testimonial-spotlight#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 { TestimonialSpotlight } from "@/components/uibrik/testimonial-spotlight/testimonial-spotlight";

<TestimonialSpotlight
  autoplay
  interval={4000}
  columns={4}
  size={64}
  gap={12}
  zoom={1.3}
  grayscale
  ripple
  magnify={0.35}
  // items={[{ id: "…", name: "…", message: "…", avatar: "…", hue: 0 }]}
  // value="…"
  // onChange={(id) => {}}
  // defaultValue="…"
/>
```

## Tune it

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

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `autoplay` | `boolean` | `true` | Move the spotlight on a timer, drawn as a ring around the face. Holds while hovered, focused or off screen. |
| `interval` | `number` | `4000` | Time each person stays in the spotlight. |
| `columns` | `number` | `4` | Faces per row. |
| `size` | `number` | `64` | Face size. Shrinks to fit narrow screens. |
| `gap` | `number` | `12` | Space between faces. |
| `zoom` | `number` | `1.3` | How much the face in the spotlight grows. |
| `grayscale` | `boolean` | `true` | Show the other faces in black and white. |
| `ripple` | `boolean` | `true` | Send a wave out in rings from the face in the spotlight when it moves. |
| `magnify` | `number` | `0.35` | How much faces under the mouse swell and lean away. 0 turns it off. |

## 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 }[]` | `SAMPLE_SPOTLIGHT` | People in the grid. `hue` is an OKLCH hue (0–360) for their ring and panel tint. |
| `value / onChange` | `string / (id: string) => void` |  | Controlled spotlight id. |
| `defaultValue` | `string` | `first item` | Person in the spotlight to begin with. |
| `className` | `string` |  | Classes for the wrapper. |

## Where it fits

- **Customer sections**: A whole grid of faces says many people use it, and the spotlight gives each one a turn. Pairs with [Testimonial Orbit](https://uibrik.com/components/testimonial-orbit.md) (Pro).
- **Community and team pages**: Picking any face shows what that person said, without opening anything. Pairs with [Crowd Bloom](https://uibrik.com/components/crowd-bloom.md) (Pro).
- **Case study hubs**: The tinted panel can hold a short quote that leads into a longer story. Pairs with [Testimonial Carousel](https://uibrik.com/components/testimonial-carousel.md).

## 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 Thread](https://uibrik.com/components/testimonial-thread.md) (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.
- [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.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/testimonial-spotlight/` 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
