Skip to main content
Clever Ops

Testimonial Thread

Customer praise as a chronological message thread, monogram chips, mono timestamps and day dividers on a hairline spine. Conversational social proof for React and Tailwind sites.

Preview & code

Loading Testimonial Thread preview

Installation

pnpm dlx shadcn@latest add @cleverui/testimonial-thread

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { TestimonialThread } from '@/components/blocks/testimonial-thread'
Exampletsx
import { TestimonialThread } from '@/components/blocks/testimonial-thread'

export default function TestimonialThreadDemo() {
  return (
    <div className="mx-auto max-w-6xl">
      <TestimonialThread
        eyebrow="Unsolicited, unedited"
        heading="The messages we screenshot internally"
        featuredIndex={2}
        messages={[
          {
            day: 'Tue 12 May',
            time: '09:41',
            author: 'Mara Chen',
            jobTitle: 'VP Engineering',
            company: 'Northline',
            text: 'Just closed a sev-1 in under twelve minutes. The page landed with the runbook already open, that never happened with the old stack.',
          },
          {
            time: '11:08',
            author: 'Jonah Okonkwo',
            jobTitle: 'SRE Lead',
            company: 'Fieldline',
            text: 'Same here. Our on-call rotation stopped living in three Slack channels. The roster is the source of truth now.',
          },
          {
            day: 'Wed 13 May',
            time: '14:22',
            author: 'Priya Natarajan',
            jobTitle: 'CTO',
            company: 'Harborstack',
            text: 'Board update: seventy-one of seventy-four severity-ones hit the SLO this quarter. I am sending them the before/after graph.',
          },
          {
            time: '16:55',
            author: 'Ellis Ward',
            jobTitle: 'Head of Customer Ops',
            company: 'Parcelwright',
            text: 'A prospect asked who actually uses this. I forwarded them this thread. Closed the deal before the next stand-up.',
          },
          {
            day: 'Thu 14 May',
            time: '08:17',
            author: 'Mara Chen',
            jobTitle: 'VP Engineering',
            company: 'Northline',
            text: 'Nights got boring. That is the highest compliment I can give an ops tool.',
          },
        ]}
      />
    </div>
  )
}

API reference

TestimonialThread accepts the following props.

PropTypeDefaultDescription
eyebrowstring'Unsolicited, unedited'
heading*stringsection heading, e.g. 'The messages we screenshot internally'
messages*TestimonialThreadMessage[]4-7 messages in chronological order
featuredIndexnumber0index of the ONE message with accent keyline + monogram; -1 for none

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface TestimonialThreadMessage {
  text: string
  author: string
  jobTitle?: string
  company?: string
  /** static mono string like '09:41', never computed from Date in render */
  time: string
  /** when present, opens a day-divider chip above this message, e.g. 'Tue 12 May' */
  day?: string
}

Frequently asked questions

How do I install the Testimonial Thread component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/testimonial-thread`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Testimonial Thread require?

Testimonial Thread uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Testimonial Thread to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services