Stacked layers give the headline real thickness. Move your pointer over 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 |
|---|---|---|---|
| text | string | Text to draw. | |
| layers | number | 14 | Number of stacked layers. More = smoother, but more DOM. |
| spacing | number | 1.6 | Distance between layers in px. |
| max | number | 22 | Max rotation in degrees. |
| className | string | Extra classes added to the outer element. |