Components / section
Parallax Layers
Layers that drift at different speeds as a section scrolls through the screen, creating depth.

Implementation
Layers that drift at different speeds as a section scrolls through the screen, creating depth.
- Framework
- React 19.3.1 with TypeScript
- Motion
- Native CSS and browser APIs. No GSAP required.
- Available modes
- build
- Version
- 1.0.0 · published
Source code
Loading source…
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · Layers that drift at different speeds as a section scrolls through the screen, creating depth.
Frequently asked questions
How is each layer's speed set?
Each layer has a speed multiplier. One shared variable, the section offset from the middle of the screen, drives all of them, so adding a layer costs nothing.
Why is the first layer scaled up?
So its edges never show while it drifts the other way. The base layer carries the size of the section.