The classic album browser. Click a cover or use the arrow keys.
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[] | Items shown in the row, one per slide. | |
| itemWidth | number | 180 | Width of each item in px. |
| itemHeight | number | 240 | Height of each item in px. |
| spacing | number | 54 | Horizontal distance between side items in px. |
| initial | number | Index shown first. Defaults to the middle. | |
| className | string | Extra classes added to the outer element. |