---
title: "Testimonial Ticker"
description: "Shows one short line of praise under a hero button and rolls to the next quote every few seconds."
url: https://gelatinui.com/components/testimonial-ticker
markdown_url: https://gelatinui.com/components/testimonial-ticker.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/testimonial-ticker"
version: "2026-11-16"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Testimonial Ticker

> Shows one short line of praise under a hero button and rolls to the next quote every few seconds.

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

## When to use it

Best for: Very short quotes of a few words.

- Keep each quote to one line; a longer one truncates.

## When not to use it

- For quotes longer than one line, use [Testimonial Rotator](https://gelatinui.com/components/testimonial-rotator.md).

## Notes for agents

- Each child is a `TestimonialTickerItem` with a face, the quote, and the name.

## Anatomy

```text
TestimonialTicker
└─ TestimonialTickerItem (0..n)
```

## API reference

### TestimonialTicker

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `interval` | `number` | 5000 | Time on each line in ms; 0 holds it. It holds under the pointer and with focus in it. |
| `locale` | `string` |  | The BCP 47 locale of the line names. Default: the `DisplayLocaleProvider`, else "en-US". |
| `labels` | `Partial<TestimonialLabels>` |  |  |

### TestimonialTickerItem

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `variant` | `TestimonialVariant` |  | `card` (default): a Frame tray; put the words in a `TestimonialPanel` and the `TestimonialAuthor` on the tray under it. `outline`: one bordered card. `plain`: no surface. `pill`: one short line, for a hero. |
| `orientation` | `"horizontal" \| "vertical"` |  | `horizontal` puts the panels side by side (a featured quote with a face panel). |
| `size` | `TestimonialSize` |  | The quote text: `sm` 15px, `default` 16px, `lg` 22px light, `xl` 32px light. |
| `locale` | `string` |  | The BCP 47 locale of dates and the star score. Default: the `DisplayLocaleProvider`, else "en-US". |
| `labels` | `Partial` |  |  |

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

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| TestimonialTicker | `testimonial-ticker` |  |  |  |
| TestimonialTickerItem | `testimonial-ticker-item` |  |  |  |

## Usage

Put one ticker item per line.

```tsx title="praise-ticker.tsx"
import { TestimonialAvatar, TestimonialQuote, TestimonialRole } from "@/components/social/testimonial";
import { TestimonialTicker, TestimonialTickerItem } from "@/components/pro/social/testimonial-ticker";

export function PraiseTicker() {
  return (
    <TestimonialTicker>
      <TestimonialTickerItem>
        <TestimonialAvatar name="Jonah Okafor" size="xs" />
        <TestimonialQuote>“Lunch was early.”</TestimonialQuote>
        <TestimonialRole>Jonah, Parcelbox</TestimonialRole>
      </TestimonialTickerItem>
      <TestimonialTickerItem>
        <TestimonialAvatar name="Priya Raman" size="xs" />
        <TestimonialQuote>“QA cried a little.”</TestimonialQuote>
        <TestimonialRole>Priya, Halcyon</TestimonialRole>
      </TestimonialTickerItem>
    </TestimonialTicker>
  );
}
```

## 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-ticker
```

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

## Built on

- [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)
- [Testimonial Proof](https://gelatinui.com/components/testimonial-proof.md)

## Accessibility

A region read as a carousel; only the shown line is in the tree.

It holds on hover and on focus.

## Motion

| Part | Motion |
| --- | --- |
| Roll | popup · the new line rises 8px into place, the old one leaves upward |
