Cards that pile up as you scroll. Each one sticks, and as the next slides over it, it shrinks, tips back and dims.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| cards | ReactNode[] | One entry per card. | |
| height | number | 420 | Height of the scrolling area in px. |
| shrink | number | 0.05 | How much each older card shrinks (0 to 0.2). |
| step | number | 16 | Gap between the stuck cards, in px. |
| className | string | Extra classes added to the outer element. | |
| cardClassName | string | Extra classes added to every card. |