Cards Stack
A tactile testimonial card that layers customer stories behind the active quote and supports autoplay and drag-to-advance.
Loading preview…
Installation
Add the component source directly to your project.
pnpm dlx shadcn@latest add @pastaui-pro/cards-stackAPI reference
Cards Stack
| Prop | Type | Default | Description |
|---|---|---|---|
items | TestimonialCardItem[] | — | The ordered testimonial cards rendered in the stack. |
interval | number | 2000 | Milliseconds the front card rests before the next transition. |
spacing / scaleStep | number | 24 / 0.02 | Vertical offset and scale reduction for each card behind the front. |
className | string | — | Additional classes for sizing or positioning the stack. |