# M rotating text 3

> Testimonial audience — direction down cycles target audience descriptor

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/m-rotating-text-3).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-rotating-text-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-rotating-text-3-light-e98da8a8fcc58856.png
- Registry item: https://ui.cnippet.dev/r/m-rotating-text-3.json
- Categories: rotating text
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/m-rotating-text-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/rotating-text`

## Files

### `registry/default/motion-variants/m-rotating-text-3.tsx`

```tsx
"use client";

import { RotatingText } from "@/registry/default/motion/rotating-text";

const roles = ["engineers", "designers", "founders", "startups", "agencies"];

export default function RotatingTextTestimonial() {
  return (
    <div className="flex min-h-50 items-center justify-center px-6">
      <div className="w-full max-w-lg rounded-2xl border border-border bg-card p-8 text-center shadow-sm">
        <p className="font-semibold text-2xl text-foreground leading-snug sm:text-3xl">
          Trusted by{" "}
          <RotatingText
            className="text-primary"
            direction="down"
            interval={2200}
            transition={{ damping: 22, stiffness: 140, type: "spring" }}
            words={roles}
          />
          <br />
          around the world.
        </p>
        <p className="mt-4 text-muted-foreground text-sm">
          direction="down" — words enter from above
        </p>
      </div>
    </div>
  );
}
```
