A card with a curling corner. Hover, focus or tap and it peels back to show what is underneath.
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 top face. | |
| reveal | ReactNode | What is hidden underneath. | |
| width | number | 280 | Width of the card in px. |
| height | number | 340 | Height of the card in px. |
| peel | number | 150 | How far the corner peels, in px. |
| className | string | Extra classes added to the outer element. |