Cover Flow

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.

CoverFlow props

PropTypeDefaultDescription
itemsReactNode[]Items shown in the row, one per slide.
itemWidthnumber180Width of each item in px.
itemHeightnumber240Height of each item in px.
spacingnumber54Horizontal distance between side items in px.
initialnumberIndex shown first. Defaults to the middle.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks