{"adoption": {"forks": 1113, "observed_at": "2026-08-28T04:10:26.022711+00:00", "stars": 8848}, "canonical_url": "https://ross.abutalabs.com/products/locomotive-scroll", "card": {"archived": false, "artifact_type": "library", "description": "🛤 Detection of elements in viewport & smooth scrolling with parallax.", "domain": ["web-development", "frontend"], "enriched": true, "function": ["animation", "ui-components"], "health_score": 91, "homepage": "https://scroll.locomotive.ca", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["locomotivemtl/locomotive-scroll"], "name": "locomotivemtl/locomotive-scroll", "platform": ["browser", "cross-platform"], "pushed_at": "2026-06-30T19:36:53+00:00", "repo": "locomotivemtl/locomotive-scroll", "stars": 8848, "tags": ["smooth-scrolling", "parallax", "in-view-detection", "intersection-observer", "scroll-animations", "lenis", "typescript", "nodejs"], "topics": ["smooth-scrolling", "parallax", "in-view", "javascript"], "urls": [], "use_cases": ["add smooth scrolling to a website", "create parallax scroll effects", "trigger animations when elements enter the viewport", "track scroll progress for progress bars", "build scroll-driven animations", "detect when elements are in view and fire callbacks"], "what_it_is": "Locomotive Scroll is a lightweight (9.4kB gzipped) JavaScript library for smooth scrolling, viewport detection, and parallax effects, built on top of Lenis. Version 5 is a complete TypeScript-first rewrite featuring dual Intersection Observers, scroll progress tracking, and accessibility support.", "when_to_avoid": ["you only need basic smooth scrolling without detection or parallax (use Lenis directly)", "you need scroll-triggered animations with a full timeline/animation engine (consider GSAP ScrollTrigger)", "your project must support very old browsers without Intersection Observer"], "when_to_choose": ["you need smooth scrolling with parallax and in-view detection in one lightweight package", "you want an accessible, production-ready scroll library with native scrollbar and keyboard support", "you prefer a fully typed TypeScript library built on Lenis"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/locomotive-scroll", "repo": "locomotivemtl/locomotive-scroll", "role": "main", "score": 72}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:26.022711+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:24:47.719250+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2e898794eda1f3de67c80f4ad99d6bca0649661671595c209dea878c312736ff", "fetched_at": "2026-08-28T04:10:26.022711+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locomotivemtl/locomotive-scroll"}, {"content_hash": "920ad61ace5d13233760969de3e893de94191c6a689803c88279ea186fb2f0fd", "fetched_at": "2026-08-29T08:25:25.599092+00:00", "kind": "homepage", "missing": false, "url": "https://scroll.locomotive.ca"}, {"content_hash": "081113bf01011aea9d889620474239216b3ef0e9b1d8df3c7479b7a35adf0845", "fetched_at": "2026-08-29T08:25:25.601825+00:00", "kind": "site_page", "missing": false, "url": "https://scroll.locomotive.ca/docs"}, {"content_hash": "f61ec11f870bdde8f5d53bbc499376ed37a9ecf3b0ef7d1cbc45acfade278bc1", "fetched_at": "2026-08-29T08:25:25.603691+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/locomotive-scroll"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 90, "longevity": 100, "rhythm": 34}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3612, "days_push": 64, "days_rel": 230, "gap_med": null, "n_releases_24m": 1}, "score": 72, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}