Expanding cards

Cards that grow into a full sheet when clicked, the way App Store cards do. The card itself stretches open, then folds back on Escape.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

ExpandCards3D props

PropTypeDefaultDescription
itemsExpandItem3D[]Cards to show. One expands at a time.
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