On this page
CDN
Load single icons from jsDelivr or unpkg, or self-host the composite SVG server.
jsDelivr and unpkg
Every published file is served by the public npm CDNs. Pin the version in production.
<img src="https://cdn.jsdelivr.net/npm/@axcore/[email protected]/dist/svg/camera.svg" width="24" height="24" alt="" />
<img src="https://unpkg.com/@axcore/[email protected]/dist/svg/camera.svg" width="24" height="24" alt="" />Composite SVG server
The repository includes apps/cdn, a small server that combines several icons into one SVG for READMEs. It is not hosted publicly; run or deploy it yourself.
pnpm --filter @axcore/xicons-cdn dev
# http://localhost:8787/icons?i=react,camera&size=48&gap=12| Param | Default | Range |
|---|---|---|
i | none | Comma-separated names, up to 50 |
variant | branded | branded, original, mono |
size | 48 | 16 to 512 |
gap | 12 | 0 to 128 |
color | none | Hex, for currentColor parts |
Something wrong or missing?Open an issue