# Locomotive Scroll

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


Source: https://findsoftware.frbit.cloud/locomotive-scroll/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://scroll.locomotive.ca
- repository: https://github.com/locomotivemtl/locomotive-scroll
- docs: https://scroll.locomotive.ca/docs
- instagram: https://www.instagram.com/locomotivemtl/

### Identity

- status: active
- maintainer: Locomotive Inc.
- maintainerType: company
- parent: unknown
- firstRelease: 2019
- hqCountry: CA

### Kind

- category: ui-library, graphics
- hosting: not applicable
- language: javascript
- runtime: unknown
- runtimeMin: not applicable
- basedOn: lenis

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm, CDN

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-11-13

### Adoption

- githubStargazers: 8899
- packagistDownloads: not applicable
- npmWeeklyDownloads: 25978
- contributors: 25
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 808
- dependentPackages: 20

### Sources

- urls: https://scroll.locomotive.ca/ (read 2026-11-16)
- urls: https://api.github.com/repos/locomotivemtl/locomotive-scroll (read 2026-11-16)
- urls: https://scroll.locomotive.ca/docs (read 2026-11-16)
- firstRelease: https://api.github.com/repos/locomotivemtl/locomotive-scroll/tags (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/locomotivemtl/locomotive-scroll/main/LICENSE (read 2026-11-16)
- hqCountry: https://locomotive.ca/en (read 2026-11-16)
- category: https://raw.githubusercontent.com/locomotivemtl/locomotive-scroll/main/README.md (read 2026-11-16)
- basedOn: https://github.com/locomotivemtl/locomotive-scroll/blob/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/locomotivemtl/locomotive-scroll (read 2026-11-16)
- installMethod: https://scroll.locomotive.ca/docs/getting-started/installation (read 2026-11-16)
- installMethod: https://scroll.locomotive.ca/docs/getting-started/installation (read 2026-11-16)
- license: https://api.github.com/repos/locomotivemtl/locomotive-scroll (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/locomotivemtl/locomotive-scroll/main/LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/locomotivemtl/locomotive-scroll/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/locomotivemtl/locomotive-scroll/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/locomotivemtl/locomotive-scroll (read 2026-11-16)
- contributors: https://api.github.com/repos/locomotivemtl/locomotive-scroll/contributors?per_page=1 (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/locomotive-scroll (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/locomotive-scroll (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/locomotive-scroll (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
