Skip to content
JS
Package

locomotive-scroll

Detection of elements in viewport & smooth scrolling with parallax effects.

v5.0.1, 15 Jan 2026MITESM + CommonJSTypes: BundledDOM and browser utilities
$ npm install locomotive-scroll

Key numbers

As of 25 Sept 2026
Weekly downloads
14.2k
+9% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 months ago
v5.0.1
GitHub stars
8.9k
1.1k forks
Open issues / PRs
5 / 20
Contributors
-
Commits, last 52 weeks
24

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 18.6k (17 Feb 2026)Low 7.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

14,192 downloads last week, 57,944 in the last month. The 12-month change of +9% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.0.1, 15 Jan 20268 months ago
First published
-
Last push to GitHub
30 Jun 202686 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
20
Commits, last 52 weeks
24
Dependents on npm
22

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
514 kB
Dependencies (1)
lenis
npm install locomotive-scroll

CDN

jsDelivr: 12.4m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/locomotive-scroll@5.0.1/
  • unpkghttps://unpkg.com/locomotive-scroll@5.0.1/
  • esm.shhttps://esm.sh/locomotive-scroll@5.0.1
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.