Lenis
A lightweight, dependency-free smooth scrolling library from the darkroom.engineering studio, under the MIT licence. It is the cushioned scroll you see on plenty of award-winning sites. What sets it apart: it wraps the browser's own scroll instead of replacing it, so `position: sticky` elements, anchor links and accessibility keep working. It hooks into GSAP's ScrollTrigger in a few lines, and turns smoothing off on its own when the visitor has asked for reduced motion in their system settings.
Strengths
- Wraps native scroll: sticky, anchors and accessibility stay intact
- Respects the visitor reduced motion preference by default
- Documented integration with GSAP ScrollTrigger, with no extra dependency
Limitations
- Smoothing changes how scrolling feels: annoying on a content site or an app
- One more JavaScript piece on the scroll path, to test on mobile
Best for
- A product page or landing whose animations are driven by scroll
- A site already animated with GSAP whose scrolling feels jerky