plainJS

Libraries / UI

Swipe 2

Swipe is the most accurate touch slider. Support both React and Angular.

No-build verifiedDormant0 dependenciesScript tagTypes bundledMIT

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size8.0 KB minified, 3.1 KB gzipped (swipe.js)
LicenceMIT
Dependenciesnone
Last releasev2.3.1, March 2021
Last activity2023-10-17 (Dormant)
Stars958 on GitHub
Formatsclassic script (global Swipe); TypeScript types in the package
CDN hits11,406 a month on jsDelivr
npm downloads15,630 a month
GatesG1 passed (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.3.1 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]/swipe.js"
        integrity="sha384-wGbEeuHR8MdwlD25trb6LORlHdD3w2eRY1ZADh6JrvV/vwkak9gvm8l4bxdkOm5S" crossorigin="anonymous"></script>
Advertisement

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