KBAISE/ for lovable
Directory

Lenis

Smooth-scroll library

FreeAnimation & motionlenis.dev

What it is

From Darkroom Engineering. Intercepts wheel and touch input and lerps scroll position for the weighted, inertial feel of award sites — something CSS scroll-behavior cannot do. 5.3 kB gz core, 1.6 kB for the React binding.

Why it earns a slot

My one 'do not use this' on your project. Hijacked scroll fights readers on long text, breaks trackpad muscle memory and scroll-anchoring, and is a real accessibility problem. Long-form reading is your entire product. If you ship it anyway, gate it behind prefers-reduced-motion.

Know before you commit

Adds a frame of latency and can interfere with browser lazy-loading heuristics. Wiring it to GSAP requires driving Lenis from GSAP's ticker or pinned sections jitter.

Getting started

npm install lenis

Field notes

0 from the community

Sign in to add a field note. Reading is always open.

Loading notes…

Also in Animation & motion

Timeline animation engine

FreeAnimation & motion
Free — all plugins, since 2025
Open dossier

Declarative React animation

FreeAnimation & motion
Free MIT · Motion+ €299 once
Open dossier
React Three Fiber
r3f.docs.pmnd.rs

React renderer for Three.js

FreeAnimation & motion
Free · MIT
Open dossier
Rive
rive.app

Interactive vector animation

PaidAnimation & motion
Runtimes free MIT · publishing $9/seat/mo
Open dossier