FindSoftware

Locomotive Scroll

JavaScript scroll library that detects elements entering the viewport and adds smooth scrolling and parallax effects.

Locomotive Scroll detects when elements enter the viewport and adds smooth scrolling and parallax effects to a page. It is built on top of Lenis, a separate smooth scroll engine, and the bundle includes Lenis. Parallax is set per element with the data-scroll-speed attribute.

Worth knowing

The documentation says the library may not be fully compatible with server-side rendering, because it relies on the window object and the Intersection Observer API.

Identity

Status
Active
Maintainer
Locomotive Inc.5
Maintained by
Company
First release
20194
Headquarters
Canada6

Rendering and deploy

Install with
npm, CDN9

Releases

Current major version
510
Last release
2026-11-1310

Adoption

GitHub stars
8,8992
npm downloads a week
25,97812
Contributors
2511
Dependent repositories
80813
Dependent packages
2013

Why these figures do not compare

Sources

  1. 2026-11-16: links
    scroll.locomotive.ca/
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/locomotivemtl/locomotive-scroll
  3. 2026-11-16: links
    scroll.locomotive.ca/docs
  4. 2026-11-16: First release
    api.github.com/repos/locomotivemtl/locomotive-scroll/tags
  5. 2026-11-16: Maintainer, License model
    raw.githubusercontent.com/locomotivemtl/locomotive-scroll/main/LICENSE
  6. 2026-11-16: Headquarters
    locomotive.ca/en
  7. 2026-11-16: Categories
    raw.githubusercontent.com/locomotivemtl/locomotive-scroll/main/README.md
  8. 2026-11-16: Built on
    github.com/locomotivemtl/locomotive-scroll/blob/main/README.md
  9. 2026-11-16: Install with
    scroll.locomotive.ca/docs/getting-started/installation
  10. 2026-11-16: Current major version, Last release
    api.github.com/repos/locomotivemtl/locomotive-scroll/releases
  11. 2026-11-16: Contributors
    api.github.com/repos/locomotivemtl/locomotive-scroll/contributors?per_page=1
  12. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/locomotive-scroll
  13. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/locomotive-scroll

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON