Testimonials
Stacked Testimonials
Large testimonial cards lie on top of each other like a deck. The top one swings out and slips to the back while the next comes forward.
npx motionsnack add stacked-testimonialsCustomize
Background
<StackedTestimonials />Props
15 properties
| Property | Type | Default | Description |
|---|---|---|---|
| items | { quote: string; name?: string; role?: string; result?: string; avatar?: { src: string; alt?: string } }[] | 4 sample testimonials | Testimonials in the stack. `result` is the short outcome in the pill under the name. |
| buttonColor | string | near-black / near-white in dark | Colour of the filled arrow button. |
| buttonTextColor | string | white / near-black in dark | Icon colour of the filled arrow button. |
| buttonRadius | number | fully round | Corner radius of the arrow buttons in px. |
| kicker | string | 'Testimonials' | Small label above the headline. Leave empty to hide it. |
| title | string | 'Kind words from
people we worked with' | Headline. Use \n for line breaks. |
| description | string | '' | Paragraph under the headline. Leave empty to hide it. |
| autoplay | boolean | true | Deal the next card on its own. Pauses while the pointer is over the section. |
| interval | number | 4.5 | Seconds a card stays on top. |
| tilt | number | 4 | How far the cards underneath are turned. |
| spread | number | 30 | How far the cards underneath stick out to the sides. |
| maxWidth | number | 680 | Widest the stack gets. |
| showControls | boolean | true | Arrows and the counter under the stack. |
| background | string | '#000000' | Section background. |
| radius | number | 28 | Corner radius of the cards. |
About Stacked Testimonials
A centred label and headline sit above a deck of large cards. The top card carries a long quote, a round photo, a name and a pill with the outcome; two more cards peek out underneath, turned a few degrees. Every few seconds the top card swings out to the side and slips to the back while the next one straightens up. Clicking the deck or the arrows deals the next card, a counter shows the position, and the deck pauses while the pointer is over the section. Tilt, spread, width and timing are props.
What's included
- Deck of large overlapping cards
- Top card swings out and slips to the back
- Outcome pill under the name
- Arrows, counter and click to deal
- Light and dark look
- Respects reduced motion
- Type
- Animated testimonials section for Next.js
- Library
- Sections · Testimonials
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add stacked-testimonials