Keep scrolling. The panel starts tilted back and flattens as it reaches the middle of the screen.
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 | Content that tilts into place as it scrolls into view. | |
| from | number | 24 | Starting tilt in degrees. |
| fromScale | number | 0.86 | Starting scale. |
| perspective | number | 1000 | Perspective distance in px. Lower values look more dramatic. |
| className | string | Extra classes added to the outer element. |