plainJS

Libraries / UI

Barba.js

Create badass, fluid and smooth transitions between your website’s pages

No-build verifiedStable0 dependenciesTypes bundledMIT

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size0.5 KB minified, 0.3 KB gzipped (packages/css/__web__/styles/once.css)
LicenceMIT
Dependenciesnone
Last releasev2.10.3
Last activity2024-12-02 (Stable)
Stars13,000 on GitHub
FormatsTypeScript types in the package
CDN hits632 a month on jsDelivr
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.10.3 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/gh/barbajs/[email protected]/packages/css/__web__/styles/once.css"
        integrity="sha384-AkIWfUvTZGhrY0FNhQ1+7HPPb+Ds1sbJz//wMWEUjP0PtYQ5KWCynec2H1qjTv08" crossorigin="anonymous"></script>
Advertisement

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