← Back to the docs

CDN distribution

Every ArnieJS component is available via jsDelivr — free, automatic, no setup, because the repo is public on GitHub.

Two lines, no file copying

<!-- In your <head>: -->
<link rel="stylesheet"
  href="https://cdn.jsdelivr.net/gh/MarcoZorn/arniejs@main/components/ui/31-bloom-button/style.css">

<!-- Before </body>: -->
<script src="https://cdn.jsdelivr.net/gh/MarcoZorn/arniejs@main/components/ui/31-bloom-button/script.js"></script>

<!-- In your <body>: -->
<!-- paste the HTML from the component's index.html -->

Replace 31-bloom-button with any component folder name from the gallery.

URL pattern

CSS: https://cdn.jsdelivr.net/gh/MarcoZorn/arniejs@main/components/ui/[folder]/style.css
JS:  https://cdn.jsdelivr.net/gh/MarcoZorn/arniejs@main/components/ui/[folder]/script.js

Swap ui for effects for the visual effects.

Versioned CDN (recommended for production)

Pin to a release tag so updates never break you unexpectedly:

https://cdn.jsdelivr.net/gh/MarcoZorn/arniejs@v1.0.0/components/ui/31-bloom-button/style.css

Arnie doesn't love CDNs (he prefers to grow his own), but he understands not everyone has time to dig in the soil.