MODULE · SMOOTH
lenis
Smooth scroll as it should be
★ 14.3K
Stars
↓ 911K
Per week
◇ TypeScript
Language
INSTALL
$ npm i lenisFeatures
Lightweight & dependency-free
the whole library is a few KB with zero runtime dependencies
Runs on native scroll
wraps the browser's own scroll, so position: sticky, anchor links, and accessibility keep working
Any axis
smooth vertical, horizontal, and nested scrolling from a single instance
Built for sync
drives WebGL scroll scenes, GSAP ScrollTrigger, and parallax off one loop
Framework adapters
first-class packages for React, Vue, and Framer
Scroll snapping
the snap plugin aligns sections without fighting the smooth scroll