Paper-Cut Parallax Hero

Motion Components · Vol. 2

Component

Paper-Cut Parallax Hero

A real-time three.js diorama of eight paper layers with true shadows. Move the cursor to peek between the sheets, click for a paper wave, or unfold the whole valley into depth. Dark mode brings the night shift.

Variants

Sizes and states, all built from the same markup.

Small card
Default (unfolded)
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility