One panel opens wide while its neighbours lean away in 3D. Hover, focus or tap.
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 |
|---|---|---|---|
| panels | ExpandingPanel[] | The panels to show, each with a title and optional content. | |
| defaultActive | number | 0 | Index of the panel that starts expanded. |
| height | number | 340 | Height in px. |
| className | string | Extra classes added to the outer element. |