Skip to content

Conversation

@KhalidAlansary
Copy link
Contributor

closes #2635

Description

Find and replace elements inside <template> tags that are not normally selected with document.querySelector

Before Submitting

@karsa-mistmere
Copy link
Member

karsa-mistmere commented Aug 22, 2025

All in all, I'm not really in favour of adding this feature: templates are meant to be templates, I think it makes more sense for icons to be replaced after instantiating them, their contents aren't included in querySelectorAll for a reason.

If you really need to run createIcons on some templates ahead of time, you can already do so by specifying a custom root element, for example:

createIcons({ root: templateElement });

Or, to replace all icons in all templates:

document.querySelectorAll('template').forEach(root => createIcons({ root }));

Additionally, even if we were to add official support for this, it should be done in a backwards-compatible way — for instance, by introducing a boolean flag that controls whether icons inside templates should be replaced. This flag should default to false, so the current behaviour remains unchanged.

@ericfennis, @jguddas, what are your thoughts?

@ericfennis
Copy link
Member

Yeah, I agree with @karsa-mistmere on this one. It's contained for a reason.

I've added a new option: replaceInsideTemplates, to the createIcons function. And I also added some tests.

@github-actions github-actions bot added 📖 documentation Improvements or additions to documentation 🌍 site Has to do something with the Lucide website labels Sep 5, 2025
@ericfennis
Copy link
Member

ericfennis commented Sep 5, 2025

Renamed the option to inTemplates. Since the term "replace Icons" does not feel right. So createIcons -> inTemplates.
@karsa-mistmere I've applied your suggestion.

I've also added some documentation.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Oct 6, 2025
@github-actions github-actions bot removed the Stale label Oct 17, 2025
@ericfennis ericfennis merged commit be55088 into lucide-icons:main Oct 17, 2025
5 checks passed
87kangsw pushed a commit to 87kangsw/lucide that referenced this pull request Oct 24, 2025
…ons#2635) (lucide-icons#3576)

* fix(packages/lucide): replace elements inside `<template>` (lucide-icons#2635)

* Added replaceInsideTemplates option

* Format code

* Simply code and add some documentation

* Fix vercel build

---------

Co-authored-by: Eric Fennis <[email protected]>
ch4og pushed a commit to csmplay/mapban that referenced this pull request Nov 18, 2025
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [lucide-react](https://lucide.dev) ([source](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react)) | [`^0.539.0` -> `^0.554.0`](https://renovatebot.com/diffs/npm/lucide-react/0.539.0/0.554.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.554.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.539.0/0.554.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>lucide-icons/lucide (lucide-react)</summary>

### [`v0.554.0`](https://github.com/lucide-icons/lucide/releases/tag/0.554.0): Version 0.554.0

[Compare Source](lucide-icons/lucide@0.553.0...0.554.0)

#### What's Changed

- fix(icons): Rename fingerprint icon to fingerprint-pattern by [@&#8203;ericfennis](https://github.com/ericfennis) in [#&#8203;3767](lucide-icons/lucide#3767)
- feat(docs): added lucide-rails third-party package by [@&#8203;theiereman](https://github.com/theiereman) in [#&#8203;3769](lucide-icons/lucide#3769)
- fix(icons): changed `ampersand` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3771](lucide-icons/lucide#3771)
- fix(icons): changed `folder-git-2` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3790](lucide-icons/lucide#3790)
- fix(icons): update `anchor` icon by [@&#8203;jamiemlaw](https://github.com/jamiemlaw) in [#&#8203;2523](lucide-icons/lucide#2523)
- feat(icons): added `calendars` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3788](lucide-icons/lucide#3788)

#### Breaking change

For `lucide-react` and `lucide-solid`, imports for `Fingerprint` icon are changed to `FingerprintPattern`.

##### Lucide React

```diff
- import { Fingerprint } from "lucide-react";
+ import { FingerprintPattern } from "lucide-react";
```

##### Lucide Solid

```diff
- import { Fingerprint } from "lucide/solid";
+ import { FingerprintPattern } from "lucide/solid";

// Or

- import Fingerprint from "lucide/solid/icons/fingerprint";
+ import FingerprintPattern from "lucide/solid/icons/fingerprint-pattern";
```

#### New Contributors

- [@&#8203;theiereman](https://github.com/theiereman) made their first contribution in [#&#8203;3769](lucide-icons/lucide#3769)

**Full Changelog**: <lucide-icons/lucide@0.553.0...0.554.0>

### [`v0.553.0`](https://github.com/lucide-icons/lucide/releases/tag/0.553.0): Version 0.553.0

[Compare Source](lucide-icons/lucide@0.552.0...0.553.0)

#### What's Changed

- feat(icons): added `mouse-pointer-2-off` icon by [@&#8203;domingasp](https://github.com/domingasp) in [#&#8203;3570](lucide-icons/lucide#3570)
- fix(icons): changed `ruler-dimension-line` icon by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3433](lucide-icons/lucide#3433)
- feat(docs): add keyboard shortcut for search by [@&#8203;dzonatan](https://github.com/dzonatan) in [#&#8203;3718](lucide-icons/lucide#3718)
- fix(lucide-preact): handle `className` prop by [@&#8203;ocavue](https://github.com/ocavue) in [#&#8203;3751](lucide-icons/lucide#3751)
- feat(icons): added chess pieces by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;1945](lucide-icons/lucide#1945)

#### New Contributors

- [@&#8203;domingasp](https://github.com/domingasp) made their first contribution in [#&#8203;3570](lucide-icons/lucide#3570)

**Full Changelog**: <lucide-icons/lucide@0.552.0...0.553.0>

### [`v0.552.0`](https://github.com/lucide-icons/lucide/releases/tag/0.552.0): Version 0.552.0

[Compare Source](lucide-icons/lucide@0.551.0...0.552.0)

#### What's Changed

- fix(icons/file): arcified folds by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3587](lucide-icons/lucide#3587)
- feat(icons): added `solar-panel` icon by [@&#8203;UsamaKhan](https://github.com/UsamaKhan) in [#&#8203;2780](lucide-icons/lucide#2780)

**Full Changelog**: <lucide-icons/lucide@0.551.0...0.552.0>

### [`v0.551.0`](https://github.com/lucide-icons/lucide/releases/tag/0.551.0): Version 0.551.0

[Compare Source](lucide-icons/lucide@0.550.0...0.551.0)

#### What's Changed

- feat(icons): added `clock-check` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;2402](lucide-icons/lucide#2402)

**Full Changelog**: <lucide-icons/lucide@0.550.0...0.551.0>

### [`v0.550.0`](https://github.com/lucide-icons/lucide/releases/tag/0.550.0): Version 0.550.0

[Compare Source](lucide-icons/lucide@0.549.0...0.550.0)

#### What's Changed

- feat(icons): added `helicopter` icon by [@&#8203;liloudreams](https://github.com/liloudreams) in [#&#8203;2760](lucide-icons/lucide#2760)

#### New Contributors

- [@&#8203;liloudreams](https://github.com/liloudreams) made their first contribution in [#&#8203;2760](lucide-icons/lucide#2760)

**Full Changelog**: <lucide-icons/lucide@0.549.0...0.550.0>

### [`v0.549.0`](https://github.com/lucide-icons/lucide/releases/tag/0.549.0): Version 0.549.0

[Compare Source](lucide-icons/lucide@0.548.0...0.549.0)

#### What's Changed

- fix(docs): Replace `pnpm install` with `pnpm add` across documentation. by [@&#8203;josch87](https://github.com/josch87) in [#&#8203;3735](lucide-icons/lucide#3735)
- feat(docs): add new package for Go by [@&#8203;kaugesaar](https://github.com/kaugesaar) in [#&#8203;3736](lucide-icons/lucide#3736)
- feat(icons): added `git-branch-minus` icon by [@&#8203;joris-gallot](https://github.com/joris-gallot) in [#&#8203;3586](lucide-icons/lucide#3586)

#### New Contributors

- [@&#8203;josch87](https://github.com/josch87) made their first contribution in [#&#8203;3735](lucide-icons/lucide#3735)
- [@&#8203;kaugesaar](https://github.com/kaugesaar) made their first contribution in [#&#8203;3736](lucide-icons/lucide#3736)
- [@&#8203;joris-gallot](https://github.com/joris-gallot) made their first contribution in [#&#8203;3586](lucide-icons/lucide#3586)

**Full Changelog**: <lucide-icons/lucide@0.548.0...0.549.0>

### [`v0.548.0`](https://github.com/lucide-icons/lucide/releases/tag/0.548.0): Version 0.548.0

[Compare Source](lucide-icons/lucide@0.547.0...0.548.0)

#### What's Changed

- feat(docs): add new package for Slint by [@&#8203;cnlancehu](https://github.com/cnlancehu) in [#&#8203;3698](lucide-icons/lucide#3698)
- docs(site): add introductions for packages in documentation by [@&#8203;mattheskaiser](https://github.com/mattheskaiser) in [#&#8203;3643](lucide-icons/lucide#3643)
- Fix default prop by [@&#8203;ericfennis](https://github.com/ericfennis) in [#&#8203;3730](lucide-icons/lucide#3730)
- feat(icons): added `gamepad-directional` icon by [@&#8203;felipeajzanetti](https://github.com/felipeajzanetti) in [#&#8203;3693](lucide-icons/lucide#3693)

#### New Contributors

- [@&#8203;cnlancehu](https://github.com/cnlancehu) made their first contribution in [#&#8203;3698](lucide-icons/lucide#3698)
- [@&#8203;mattheskaiser](https://github.com/mattheskaiser) made their first contribution in [#&#8203;3643](lucide-icons/lucide#3643)
- [@&#8203;felipeajzanetti](https://github.com/felipeajzanetti) made their first contribution in [#&#8203;3693](lucide-icons/lucide#3693)

**Full Changelog**: <lucide-icons/lucide@0.547.0...0.548.0>

### [`v0.547.0`](https://github.com/lucide-icons/lucide/releases/tag/0.547.0): Version 0.547.0

[Compare Source](lucide-icons/lucide@0.546.0...0.547.0)

#### What's Changed

- fix(docs): update brand logo statement link in github action by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3630](lucide-icons/lucide#3630)
- chore(deps): bump astro from 5.5.2 to 5.14.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;3683](lucide-icons/lucide#3683)
- fix(packages/lucide): replace elements inside `<template>` ([#&#8203;2635](lucide-icons/lucide#2635)) by [@&#8203;KhalidAlansary](https://github.com/KhalidAlansary) in [#&#8203;3576](lucide-icons/lucide#3576)
- feat(icons): added `birdhouse` icon by [@&#8203;hieu-onefold](https://github.com/hieu-onefold) in [#&#8203;3378](lucide-icons/lucide#3378)

#### New Contributors

- [@&#8203;KhalidAlansary](https://github.com/KhalidAlansary) made their first contribution in [#&#8203;3576](lucide-icons/lucide#3576)
- [@&#8203;hieu-onefold](https://github.com/hieu-onefold) made their first contribution in [#&#8203;3378](lucide-icons/lucide#3378)

**Full Changelog**: <lucide-icons/lucide@0.546.0...0.547.0>

### [`v0.546.0`](https://github.com/lucide-icons/lucide/releases/tag/0.546.0): Version 0.546.0

[Compare Source](lucide-icons/lucide@0.545.0...0.546.0)

#### What's Changed

- fix(icons): changed `receipt-text` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3553](lucide-icons/lucide#3553)
- fix(docs): removed duplicate text in intro text by [@&#8203;nielsswinkels](https://github.com/nielsswinkels) in [#&#8203;3673](lucide-icons/lucide#3673)
- feat(icons): add VS Code `squircle` base shape snippet by [@&#8203;danielbayley](https://github.com/danielbayley) in [#&#8203;3674](lucide-icons/lucide#3674)
- fix(icons): changed `sword` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3421](lucide-icons/lucide#3421)
- feat(icons): added `monitor-cloud` icon by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3037](lucide-icons/lucide#3037)

#### New Contributors

- [@&#8203;nielsswinkels](https://github.com/nielsswinkels) made their first contribution in [#&#8203;3673](lucide-icons/lucide#3673)

**Full Changelog**: <lucide-icons/lucide@0.545.0...0.546.0>

### [`v0.545.0`](https://github.com/lucide-icons/lucide/releases/tag/0.545.0): Version 0.545.0

[Compare Source](lucide-icons/lucide@0.544.0...0.545.0)

#### What's Changed

- fix(icons): changed `flame` icon by [@&#8203;jamiemlaw](https://github.com/jamiemlaw) in [#&#8203;3600](lucide-icons/lucide#3600)
- fix(icons): arcified `square-m` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3549](lucide-icons/lucide#3549)
- chore(deps-dev): bump vite from 6.3.5 to 6.3.6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;3611](lucide-icons/lucide#3611)
- fix(icons): changed `combine` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3200](lucide-icons/lucide#3200)
- fix(icons): changed `building-2` icon by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3509](lucide-icons/lucide#3509)
- chore(deps): bump devalue from 5.1.1 to 5.3.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;3638](lucide-icons/lucide#3638)
- feat(icons): Add `motorbike` icon by [@&#8203;jamiemlaw](https://github.com/jamiemlaw) in [#&#8203;3371](lucide-icons/lucide#3371)

**Full Changelog**: <lucide-icons/lucide@0.544.0...0.545.0>

### [`v0.544.0`](https://github.com/lucide-icons/lucide/releases/tag/0.544.0): Version 0.544.0

[Compare Source](lucide-icons/lucide@0.543.0...0.544.0)

#### What's Changed

- docs: update lucide-static documentation about raw string imports by [@&#8203;pascalduez](https://github.com/pascalduez) in [#&#8203;3524](lucide-icons/lucide#3524)
- feat(icons): added `ev-charger` icon by [@&#8203;UsamaKhan](https://github.com/UsamaKhan) in [#&#8203;2781](lucide-icons/lucide#2781)

#### New Contributors

- [@&#8203;pascalduez](https://github.com/pascalduez) made their first contribution in [#&#8203;3524](lucide-icons/lucide#3524)

**Full Changelog**: <lucide-icons/lucide@0.543.0...0.544.0>

### [`v0.543.0`](https://github.com/lucide-icons/lucide/releases/tag/0.543.0): Version 0.543.0

[Compare Source](lucide-icons/lucide@0.542.0...0.543.0)

#### What's Changed

- feat(preview-comment): put x-ray at top if there are more than 7 changed icons to prevent them from being cut of by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3589](lucide-icons/lucide#3589)
- fix(icons): changed `church` icon by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;2971](lucide-icons/lucide#2971)
- chore(metadata): Added tags to `messages-square` by [@&#8203;jamiemlaw](https://github.com/jamiemlaw) in [#&#8203;3529](lucide-icons/lucide#3529)
- fix(icons): Optimise `bug` icons by [@&#8203;jamiemlaw](https://github.com/jamiemlaw) in [#&#8203;3574](lucide-icons/lucide#3574)
- fix(icons): changed list/text & derived icons by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3568](lucide-icons/lucide#3568)
- fix(icons): changed `panel-top-bottom-dashed` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3584](lucide-icons/lucide#3584)
- fix(icons): changed `message-square-quote` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3550](lucide-icons/lucide#3550)
- fix(meta): added tag to `ship` metadata by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3559](lucide-icons/lucide#3559)
- fix(meta): add tags to `id-card-lanyard` metadata by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3534](lucide-icons/lucide#3534)
- fix(icons): changed `calendar-cog` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3583](lucide-icons/lucide#3583)
- chore(deps): bump astro from 5.5.2 to 5.13.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;3564](lucide-icons/lucide#3564)
- feat(packages): add new package for flutter by [@&#8203;vqh2602](https://github.com/vqh2602) in [#&#8203;3536](lucide-icons/lucide#3536)
- feat(icons): added `house-heart` icon by [@&#8203;danielbayley](https://github.com/danielbayley) in [#&#8203;3239](lucide-icons/lucide#3239)

**Full Changelog**: <lucide-icons/lucide@0.542.0...0.543.0>

### [`v0.542.0`](https://github.com/lucide-icons/lucide/releases/tag/0.542.0): Version 0.542.0

[Compare Source](lucide-icons/lucide@0.541.0...0.542.0)

#### What's Changed

- feat(docs): add MDN Web Docs & Nuxt to showcase by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3590](lucide-icons/lucide#3590)
- feat(icons): added `list-chevrons-down-up` icon by [@&#8203;juliankellydesign](https://github.com/juliankellydesign) in [#&#8203;3492](lucide-icons/lucide#3492)

#### New Contributors

- [@&#8203;juliankellydesign](https://github.com/juliankellydesign) made their first contribution in [#&#8203;3492](lucide-icons/lucide#3492)

**Full Changelog**: <lucide-icons/lucide@0.541.0...0.542.0>

### [`v0.541.0`](https://github.com/lucide-icons/lucide/releases/tag/0.541.0): Version 0.541.0

[Compare Source](lucide-icons/lucide@0.540.0...0.541.0)

#### What's Changed

- feat(packages/lucide): added support for providing a custom root element by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3543](lucide-icons/lucide#3543)
- fix(icons): optimized `chrome` icon & renamed to `chromium` by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3572](lucide-icons/lucide#3572)
- fix(icons): changed `wallpaper` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3566](lucide-icons/lucide#3566)
- fix(icons): optimized `cog` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3548](lucide-icons/lucide#3548)
- fix(icons): changed `building` icon by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3510](lucide-icons/lucide#3510)
- feat(dpi-preview): add previous version for easier comparison by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3532](lucide-icons/lucide#3532)
- feat(icons): added 'panel-dashed' variants + update tags on existing icons by [@&#8203;irvineacosta](https://github.com/irvineacosta) in [#&#8203;3500](lucide-icons/lucide#3500)

**Full Changelog**: <lucide-icons/lucide@0.540.0...0.541.0>

### [`v0.540.0`](https://github.com/lucide-icons/lucide/releases/tag/0.540.0): Version 0.540.0

[Compare Source](lucide-icons/lucide@0.539.0...0.540.0)

#### What's Changed

- fix(license): add full text of Feather license by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;3530](lucide-icons/lucide#3530)
- fix(icons): changed `umbrella` icon by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3490](lucide-icons/lucide#3490)
- docs(site): added official statement on brand logos in Lucide by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3541](lucide-icons/lucide#3541)
- fix(icons): changed `camera` icon by [@&#8203;karsa-mistmere](https://github.com/karsa-mistmere) in [#&#8203;3539](lucide-icons/lucide#3539)
- feat(icons): added `rose` icon by [@&#8203;jguddas](https://github.com/jguddas) in [#&#8203;1972](lucide-icons/lucide#1972)

**Full Changelog**: <lucide-icons/lucide@0.539.0...0.540.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTAuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: https://git.in.csmpro.ru/csmpro/csm-mapban/pulls/21
Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
karsa-mistmere pushed a commit that referenced this pull request Dec 12, 2025
…3576)

* fix(packages/lucide): replace elements inside `<template>` (#2635)

* Added replaceInsideTemplates option

* Format code

* Simply code and add some documentation

* Fix vercel build

---------

Co-authored-by: Eric Fennis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📖 documentation Improvements or additions to documentation 🌍 site Has to do something with the Lucide website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lucide won't render data-lucide if inside <template>

3 participants