plainJS

Libraries / UI

Motus

Animation library that mimics CSS keyframes when scrolling.

Dormant5 dependenciesScript tagMIT

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size27.7 KB minified, 8.9 KB gzipped (dist/motus.web.js)
LicenceMIT
Dependenciescolor-string@^1.5.3, color-to-color@^1.0.0, css-func@^1.0.0, lodash.throttle@^4.1.1, opencollective-postinstall@^2.0.2
Last releasev2.0.5, March 2020
Last activity2023-06-08 (Dormant)
Stars623 on GitHub
Formatsclassic script (global Motus;default)
CDN hits383 a month on jsDelivr
npm downloads239 a month
GatesG1 failed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v2.0.5 in headless Chromium, 2026-10-30

Load it

Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.

htmlscript tag, with SRI
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/motus.web.js"
        integrity="sha384-f0E/gkBECQl9KfH0/1hm0vBCfseFwV6z+cls9mxVPShNC3/B3LrKHULtpAHLNDZH" crossorigin="anonymous"></script>
Advertisement

Entry 176 in the directory. Facts refreshed monthly; last run 2026-10-30.