darkroomengineering/lenis
Lightweight smooth scroll
What
Smooth-scroll library from darkroom.engineering that keeps native scroll behaviour (position: sticky, etc.) and pairs well with GSAP ScrollTrigger.
How to use
npm i lenisimport Lenis from 'lenis';
const lenis = new Lenis({ autoRaf: true });Reach for it when
a scroll-heavy site needs smooth, consistent scrolling.