Smooth Scroll

scroll

to explore

The smooth scroll library

documentation showcase

Why smooth scroll?

Lenis runs the web

What began as an internal tool for syncing WebGL and the DOM is now the default smooth scroll across the industry — even powering libraries like Locomotive Scroll. The smoothness was a happy accident. So we open-sourced the whole thing.

so we built
web scrolling

Enter
Lenis

As it should be

Lenis is a free, open-source library that turns native scroll into a silky, controllable experience in a single line of code. Go no-code with the Framer plugin, and keep everything accessible and under 4kb. Made by darkroom.engineering.

Using Lenis in your project? Sponsor it or work with darkroom.

01

One line setup — new Lenis()

04

Attach Lenis to any element

05

Scroll horizontally and vertically

06

Infinite scrolling

07

Lightweight
(under 4kb)