Component
Vertical Parallax
A lightweight TypeScript component for moving several layers on scroll.
Last updated: 08/08/2026
Why I built it
I wanted a parallax effect that was easy to integrate into a page, with few settings and behavior that is simple to understand.
The idea was to keep it lightweight: one container, several layers, one speed defined for each layer, then movement calculated on scroll.
Also, the effect is disabled on small screens and if JavaScript is disabled in the browser, the layers remain visible without animation.





