Lenis
lenis.dev · Motion · Open source
Smooth scrolling for websites in one line of JavaScript, the kind used on many agency and award sites. Works with React and Vue.
What it is
Smooths out wheel, trackpad and touch scrolling so it feels the same on every device, and you can tune how heavy or fast it feels. It keeps scroll-linked animations and WebGL in sync with the page. It also supports horizontal and infinite scroll and snapping, and the site has a showcase and templates.
Is it for you?
- Made for
- Front-end developers building animated, scroll-driven websites.
- You need
- Any JavaScript project, with React and Vue packages too
- Price
- Open source (MIT)
What you can do with it
- Add smooth scrolling to a portfolio or landing page
- Keep scroll-linked and WebGL animations in sync
- Build a horizontal scrolling section



