Files
lucide/icons
Eric FennisClaude Opus 5.5github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
7bf67d3b1c feat(metadata|docs|site): reuse metadata from a base icon with $extends: (#4360)
* feat(metadata): reuse metadata from a base icon with `$extends:`

Icon metadata can reference a base icon with an inline `$extends:<icon-name>`
marker in `tags`, `categories` or `contributors`. The marker is replaced in
place with the base icon's resolved values at build time.

- Resolve markers in `readAllMetadata` and `getIconMetaData`, failing on
  unknown icons, self references and circular chains
- Accept markers in `icon.schema.json`
- `pnpm checkIcons` fails on duplicate markers and on literals a marker
  already provides, and runs in CI
- Docs read the resolved metadata index instead of the raw icon JSON
- Use `$extends:alarm-clock` in `alarm-clock-minus`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(metadata): reuse metadata from a base icon with `$extends:`

Icon metadata can reference a base icon with an inline `$extends:<icon-name>`
marker in `tags`, `categories` or `contributors`. The marker is replaced in
place with the base icon's resolved values at build time.

- Resolve markers in `readAllMetadata` and `getIconMetaData`, failing on
  unknown icons, self references and circular chains
- Accept markers in `icon.schema.json`
- `pnpm checkIcons` fails on duplicate markers and on literals a marker
  already provides, and runs in CI
- Docs read the resolved metadata index instead of the raw icon JSON
- Use `$extends:alarm-clock` in `alarm-clock-minus`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix comments

* Format code

* Update tools/build-helpers/src/resolveMetadataExtends.ts

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix resolving icon metadata

* feat(metadata): reuse metadata from a base icon with `$extends:`

Icon metadata can reference a base icon with an inline `$extends:<icon-name>`
marker in `tags`, `categories` or `contributors`. The marker is replaced in
place with the base icon's resolved values at build time.

- Resolve markers in `readAllMetadata` and `getIconMetaData`, failing on
  unknown icons, self references and circular chains
- Accept markers in `icon.schema.json`
- `pnpm checkIcons` fails on duplicate markers and on literals a marker
  already provides, and runs in CI
- Docs read the resolved metadata index instead of the raw icon JSON
- Use `$extends:alarm-clock` in `alarm-clock-minus`

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Fix comments

* Format code

* Update tools/build-helpers/src/resolveMetadataExtends.ts

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix resolving icon metadata

* Fix comments

* Format code

* Update tools/build-helpers/src/resolveMetadataExtends.ts

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-29 17:29:58 +01:00
..
2026-06-13 12:41:38 +02:00
2026-08-07 12:28:36 +02:00
…
…
…
…
…
…
…
…
…
2026-08-28 12:21:38 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-29 09:53:32 +02:00
…
…
…
2026-09-01 15:35:33 +02:00
2026-09-01 15:35:33 +02:00
…
…
…
…
…
…
…
…
…
2025-08-22 10:22:52 +02:00
…
…
…
…
…
…
2026-02-26 11:02:02 +01:00
…
…
…
…
…
…
…
2026-09-04 15:07:48 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-11-26 09:27:36 +01:00
…
…
…
2026-02-17 07:56:09 +01:00
…
…
2026-03-14 20:58:03 +01:00
…
…
…
…
…
…
…
2025-12-10 13:56:10 +01:00
…
…
…
…
…
2026-08-28 14:17:48 +02:00
…
2026-10-08 09:16:31 +02:00
…
…
…
…
…
…
…
…
…
…
2026-08-18 16:55:10 +02:00
…
…
…
…
2026-07-09 13:32:55 +02:00
…
2026-09-10 10:47:52 +02:00
2026-09-10 10:47:52 +02:00
…
…
…
…
…
…
…
…
…
2025-12-03 12:45:33 +01:00
…
…
…
…
…
…
…
…
…
…
2026-03-24 12:01:28 +01:00
2025-08-18 15:15:57 +02:00
…
…
…
…
…
2026-06-13 15:32:02 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-08-08 09:29:49 +02:00
…
…
…
…
…
2026-07-23 14:03:34 +02:00
…
2026-09-04 12:06:01 +02:00
2026-09-04 12:06:01 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-10-03 10:45:28 +02:00
…
…
…
…
…
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00
2026-02-23 09:47:51 +01:00