Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Lenis

free

Smooth, inertia-based wheel scrolling that keeps native scroll position, sticky and anchors working.

by darkroom.engineering GitHub npm
visit
Lenis website

Try these

GSAP

Timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.

Motion

The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.

Glisse

A faithful web implementation of Apple's Liquid Glass: refracting buttons, switches, tab bars and menus.

Liquid Glass React

A single <LiquidGlass> wrapper that adds refraction, chromatic aberration and elastic hover to any content.

Looks that pick it

For your agent

Install
npm i lenis
Use it for
  • an awwwards-style marketing or portfolio site with scroll-driven storytelling
  • keeping GSAP ScrollTrigger or Motion scroll animations from stepping on mouse-wheel scrolling
  • smooth anchor navigation on a long one-page site
Skip it when
  • apps, dashboards, docs and anything with long reading or dense scrolling: smooth-scroll hijacking frustrates users; keep native scroll
  • you only want smooth anchor jumps: CSS scroll-behavior: smooth is enough
  • a scroll progress bar or other scroll-linked effect that keeps native scroll feel: use motion useScroll, gsap ScrollTrigger or CSS scroll-driven animations alone
  • elements that fade or slide in on scroll: use motion's whileInView or gsap ScrollTrigger; lenis only changes how the page scrolls
What's inside17 free
  • Lenis (core)
  • ReactLenis
  • useLenis
  • lenis/vue
  • lenis/snap
  • lenis/framer
  • scrollTo()
  • start() / stop()
  • raf()
  • Events (scroll, virtual-scroll)
  • Anchors
  • Infinite scroll
  • Horizontal orientation
  • syncTouch
  • Nested scroll (data-lenis-prevent)
  • GSAP ScrollTrigger integration
  • Recommended CSS (lenis.css)
Facts
Frameworks
vanilla, react, vue, svelte, solid, angular
Styling
unstyled
Weight
small
Accessibility
weak
Maturity
established
License
MIT
Price
Free
Pairs with
import { ReactLenis } from 'lenis/react'
import 'lenis/dist/lenis.css'

<ReactLenis root />
Visit