Browse components
Kinetic Testimonials
Rows of testimonial cards drifting in opposite directions, pausing on hover with soft edge fades.
Installation
npx shadcn@latest add @glint-ui/kinetic-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/kinetic-testimonials.json
Usage
import { KineticTestimonials } from "@/components/ui/kinetic-testimonials";
<KineticTestimonials
testimonials={[
{ quote: "Shipped our redesign in a week.", name: "Ana Ruiz", title: "Design lead, Acme", avatar: "/ana.jpg", rating: 5 },
]}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| testimonials | ReactNode | — | Array of { quote, name, title?, avatar?, rating? }. |
| rows | number | 2 | Number of rows, alternating direction. |
| duration | number | 60 | Seconds per loop for the first row. |
| cardWidth | number | 320 | Card width in px. |
| gap | number | 16 | Px between cards and rows. |
| tilt | number | -3 | Rotation of the band in degrees. |
| pauseOnHover | boolean | true | Pause a row and spotlight the hovered card. |
| fadeEdges | boolean | true | Fade cards out at the edges. |
| className | string | — | Extra classes for the root element. |