# darkroomengineering/lenis

Smooth scroll as it should be

Repository: https://github.com/darkroomengineering/lenis
Canonical: https://ross.abutalabs.com/products/lenis
Homepage: https://lenis.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: scroll, smooth, smooth-scroll, performance, react, vanilla, vue, snap, darkroom-engineering
Last push: 2026-08-25T11:02:21+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 1654, "days_push": 8, "days_rel": 28, "gap_med": 9.0, "n_releases_24m": 39}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 15574, forks 672 (observed 2026-08-28T04:11:12.122672+00:00)

## What it is
Lenis is a lightweight, dependency-free smooth scroll library for modern browsers that wraps native scrolling to keep accessibility, sticky positioning, and anchor links working. It syncs DOM and WebGL scroll scenes and ships first-class adapters for React, Vue, and Framer.

## Use cases
- add smooth scrolling to a website
- sync WebGL scenes with page scroll
- build parallax scroll effects
- smooth scroll for React app
- scroll snapping between sections
- consistent scroll feel across wheel trackpad and touch
- drive GSAP ScrollTrigger with smooth scroll

## When to choose
- you want smooth scrolling without hijacking scrollbars or breaking accessibility
- you need scroll-linked WebGL or animation effects perfectly in sync with the DOM
- you want a tiny zero-dependency library with framework adapters
- you need vertical, horizontal, or nested smooth scrolling

## When to avoid
- you prefer fully native browser scrolling with no smoothing
- your site targets very old browsers
- you need scroll hijacking with custom scrollbars or CSS-transform-based scrolling

## Facets
- artifact type: library
- maturity: stable
- function: animation, ui-components, frontend-framework
- domain: web-development, frontend, web-design
- platform: browser
- tags: smooth-scroll, scroll-animation, webgl-sync, parallax, scroll-snapping, typescript, zero-dependency, web-server, nodejs

## Member repositories
- darkroomengineering/lenis (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:12.122672+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:05:39.024570+00:00, confidence not recorded.
  - readme: https://github.com/darkroomengineering/lenis (fetched 2026-08-28T04:11:12.122672+00:00, sha cfe2bf253c5e)
  - homepage: https://lenis.dev (fetched 2026-08-29T08:04:02.810478+00:00, sha 8eca09eddb68)
  - registry_npm: https://registry.npmjs.org/lenis (fetched 2026-08-29T08:04:02.814197+00:00, sha 4b621d55885d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
