plainJS

Libraries / UI

Accordion

Simple Accordion done in Vanilla JS

Dormant0 dependenciesScript tag

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size0.8 KB minified, 0.4 KB gzipped (assets/js/accordion.js)
Dependenciesnone
Last activity2018-05-01 (Dormant)
Stars11 on GitHub
Formatsclassic script
GatesG1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 failed (open-source licence); G5 passed (not archived or deprecated). Smoke test on vmaster 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/pinceladasdaweb/accordion@master/assets/js/accordion.js"
        integrity="sha384-OqYQJtETG4YjFUfucQEhaftsOPVHpyY4VzJ+yodREQUhBQMiTEJ9uM7DVzIvT8Dw" crossorigin="anonymous"></script>
Advertisement

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