lucide/docs/guide
Eric Fennis 5fc65e1f1d
fix(lucide-static): add icon aliases to the SVG sprite (#5200)
* docs(static): remove broken <img> sprite fragment example

Symbols in the sprite only render through <use>, so sprite.svg#name in
an <img> tag shows nothing. Point readers to the per-icon SVG files for
<img> usage instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FfpNbRB7XQ9kggfSA1

* feat(lucide-static): add icon aliases to the SVG sprite

Aliases were only written as separate SVG files, so `<use href="#home" />`
did not work with the sprite. Each alias is now added as a symbol that
references the original icon's symbol with a nested `<use>`, instead of
duplicating its elements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FgapYRzb6uRJnZpW7N

* Adjusted documentation

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 10:25:14 +01:00
..
angular chore(icons): Renamed *-warning and *-alert to *-exclamation-point (#5143) 2026-11-03 15:49:26 +01:00
astro feat(docs): added "How to use Lucide icons" section to resources (#4829) 2026-09-10 16:07:18 +02:00
icons feat(packages): extract icon build logic into @lucide/shared (#4409) 2026-09-04 16:38:01 +02:00
images docs(version-1): Version 1 website (#4142) 2026-03-20 17:04:28 +01:00
lucide feat(docs): added "How to use Lucide icons" section to resources (#4829) 2026-09-10 16:07:18 +02:00
preact feat(docs): added "How to use Lucide icons" section to resources (#4829) 2026-09-10 16:07:18 +02:00
react feat(lucide-react): add package exports for per-icon imports without changing how Node resolves the package (#4822) 2026-10-26 11:05:25 +01:00
react-native feat(packages): extract icon build logic into @lucide/shared (#4409) 2026-09-04 16:38:01 +02:00
solid feat(@lucide/solid): Support for Solid 2.0 RC (#4751) 2026-10-02 19:02:20 +02:00
static fix(lucide-static): add icon aliases to the SVG sprite (#5200) 2026-11-16 10:25:14 +01:00
svelte feat(svelte): export context subpath (#4927) 2026-10-02 13:11:05 +02:00
vue feat(docs): added "How to use Lucide icons" section to resources (#4829) 2026-09-10 16:07:18 +02:00
index.md fix(docs): removed docs/guide/comparison.md (#5182) 2026-11-09 10:05:38 +01:00
installation.md feat(@lucide/solid): Support for Solid 2.0 RC (#4751) 2026-10-02 19:02:20 +02:00
version-1.md feat(docs): added "How to use Lucide icons" section to resources (#4829) 2026-09-10 16:07:18 +02:00
vscode.md fix(docs): deprecated vscode exclude config (#4181) 2026-03-23 14:59:31 +01:00