Parallax Depth Layers
A production-scale, light + dark Parallax Depth Layers component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add parallax-depth-layersLive preview available in the gallery.
Usage
import { ParallaxDepthLayers } from "@lerpa/ui";
<ParallaxDepthLayers />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| layers | React.ReactNode[] | — | |
| className | string | — | |
| height | number | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.