plainJS

Libraries / UI

PicoModal

A small, self-contained JavaScript modal library. Plain, vanilla JS.

No-build verifiedDormant0 dependenciesScript tagMIT

Facts

Facts fetched 2026-10-30 by the directory sync (GitHub, npm, jsDelivr, deps.dev). Nothing here is typed by hand.
Size5.7 KB minified, 2.4 KB gzipped (src/picoModal.js)
LicenceMIT
Dependenciesnone
Last releasev3.0.0, September 2016
Last activity2017-12-07 (Dormant)
Stars242 on GitHub
Formatsclassic script (global picoModal)
CDN hits951 a month on jsDelivr
npm downloads975,687 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 v3.0.0 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]/src/picoModal.js"
        integrity="sha384-QdNJHCCABiYe2lAEtPQV/aofWWJDGpYCW7HOgZqBfFAlsHShYppCzeJ/eIaf8x8e" crossorigin="anonymous"></script>
Advertisement

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