One picture cut across hinged panels that zig-zag shut and unfold flat. Each panel hangs on the one before it.
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 |
|---|---|---|---|
| children | ReactNode | The picture, drawn across all panels. Give it a full-bleed background. | |
| panels | number | 5 | Number of panels. |
| panelWidth | number | 90 | Width of one panel in px. |
| height | number | 260 | Height of the panels in px. |
| angle | number | 66 | Fold angle at fully folded, in degrees. |
| className | string | Extra classes added to the outer element. |