Cards that follow your pointer, tilt in from depth, float up and fade away. They are reused from a small pool, so fast swipes stay smooth.
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 |
|---|---|---|---|
| items | ReactNode[] | What the cards show, cycled in order. | |
| size | number | 110 | Card width and height in px. |
| distance | number | 70 | Pointer travel in px before the next card appears. |
| pool | number | 14 | Size of the reuse pool. |
| hint | ReactNode | "Move your pointer here" | Shown in the middle until the first move. |
| className | string | Extra classes added to the outer element. |