← All libraries

Lenis

JavaScript
↗ Official site

Motion & animation

Smooth scroll library that makes your page feel silky.

What it does

Lenis replaces the default browser scroll with a smooth, inertia-based version. That buttery scroll feeling on agency websites? That's usually Lenis.

When to use it

Use this when you want the premium smooth-scroll feel on a marketing or portfolio site.

Real example

You have a marketing site and want that silky, inertia-based scroll feel like Linear or Stripe. Prompt: 'Initialize Lenis smooth scroll in main.js and connect it to GSAP's ticker so ScrollTrigger stays in sync.'

Good to know

Often paired with GSAP ScrollTrigger for scroll-driven animations.

Alternatives

GSAP ScrollTrigger

Install

$ npm install lenis

Use cases

smooth scrollscroll animationmarketing

Language

JavaScript

Category

Motion & animation

More in Motion & animation

Other tools in the same category