Browse components
Animated Testimonials
A stack of tilted photo cards that shuffles to the active person while their quote blurs in word by word.
Installation
npx shadcn@latest add @glint-ui/animated-testimonialsFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.vercel.app/r/animated-testimonials.json
Usage
import { AnimatedTestimonials } from "@/components/ui/animated-testimonials";
<AnimatedTestimonials
testimonials={[
{ quote: "Shipped in a weekend.", name: "Maya Chen", role: "Head of Product", src: "/maya.jpg" },
]}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| testimonials | ReactNode | — | Array of { quote, name, role, src }. |
| autoplay | boolean | true | Advance automatically; pauses on hover or focus. |
| interval | number | 5000 | Ms between slides. |
| wordDelay | number | 0.03 | Seconds between words appearing. |
| className | string | — | Extra classes for the root element. |