You can serve Lobe Icons directly from a CDN without installing npm packages. The icons are organized into light and dark directories to support color scheme preferences. Replace [ICON SLUG] in the URLs below with the specific icon name (e.g., openai or openai-text).
UNPKG CDN
Use https://unpkg.com/@lobehub/icons-static-avatar@latest/ as the base URL.
Aliyun (npmmirror) CDN
Use https://registry.npmmirror.com/@lobehub/icons-static-avatar/latest/files/ as the base URL.
<!-- UNPKG Example -->
<picture>
<source
media="(prefers-color-scheme: dark)"
srcset="https://unpkg.com/@lobehub/icons-static-avatar@latest/dark/openai.png"
/>
<img
height="64"
src="https://unpkg.com/@lobehub/icons-static-avatar@latest/light/openai.png"
/>
</picture>
<!-- ALIYUN Example -->
<picture>
<source
media="(prefers-color-scheme: dark)"
srcset="https://registry.npmmirror.com/@lobehub/icons-static-avatar/latest/files/dark/openai.png"
/>
<img
height="64"
src="https://registry.npmmirror.com/@lobehub/icons-static-avatar/latest/files/light/openai.png"
/>
</picture>