Scroll Reveal

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.

ScrollReveal3D props

PropTypeDefaultDescription
childrenReactNodeContent that tilts into place as it scrolls into view.
fromnumber24Starting tilt in degrees.
fromScalenumber0.86Starting scale.
perspectivenumber1000Perspective distance in px. Lower values look more dramatic.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks