Eric Fennis
523026ac18
chore(lucide-vue-next|lucide-svelte|lucide-angular): Remove deprecated packages ( #4376 )
...
* Remove deprecated packages
* Remove `lucide-angular` package
* Remove workflow
* Update lock file
2026-05-15 15:03:42 +02:00
dependabot[bot]
105f501730
chore(deps-dev): bump astro from 6.1.6 to 6.1.10 ( #4361 )
...
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro ) from 6.1.6 to 6.1.10.
- [Release notes](https://github.com/withastro/astro/releases )
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md )
- [Commits](https://github.com/withastro/astro/commits/astro@6.1.10/packages/astro )
---
updated-dependencies:
- dependency-name: astro
dependency-version: 6.1.10
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-14 13:29:14 +02:00
Karsa
07c885e6c1
fix(docs): fix zephyr-cloud URL in readmes
2026-05-07 15:35:49 +02:00
Thomas Hochstetter
446e644e63
fix(vue): clone slots before passing to icon ( #4339 )
...
Co-authored-by: Axtho <th@ebtc.org >
2026-05-01 14:52:32 +02:00
Eric Fennis
50d8af5a10
docs(readme): Update readme files ( #4320 )
...
* Update readme
* Update vue readme file
* Update readme files
Co-authored-by: Copilot <copilot@github.com >
* Update badge paths
* Update docs paths
* Update docs/.vitepress/data/packageData.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/svelte/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <copilot@github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-26 10:43:49 +02:00
dependabot[bot]
39e3964a9b
chore(deps-dev): bump astro from 6.0.8 to 6.1.6 ( #4310 )
...
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro ) from 6.0.8 to 6.1.6.
- [Release notes](https://github.com/withastro/astro/releases )
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md )
- [Commits](https://github.com/withastro/astro/commits/astro@6.1.6/packages/astro )
---
updated-dependencies:
- dependency-name: astro
dependency-version: 6.1.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 13:31:53 +02:00
blt-r
fe0bd9b887
fix(@lucide/svelte): proper doc comments for svelte components ( #4267 )
...
* fix(@lucide/svelte): proper doc comments for svelte components
* Update license text
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-04-24 10:42:50 +02:00
Karsa
653e44b832
feat(packages): use .mjs for ESM bundles ( #4285 )
2026-04-23 17:00:02 +02:00
Swastik Sharma
dc803026e0
fix(packages/angular): allow string inputs for size ( #4253 )
...
* fix: Type change for size: string | number across the LucideConfig
* fix(packages/angular): fix typing issues in @lucide/angular, should update all usages and declarations of size
* fix: revert changes made to lucide-react context.ts
---------
Co-authored-by: Karsa <contact@karsa.org >
2026-04-20 07:41:32 +02:00
dependabot[bot]
a7611e2957
chore(deps-dev): bump vite from 7.3.1 to 7.3.2 ( #4276 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 7.3.2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 09:29:30 +02:00
blt-r
51e37e2e2c
fix aria-hidden="true" in @lucide/svelte ( #4234 )
2026-04-03 14:43:35 +02:00
Karsa
7623e23f78
feat(docs): add Zephyr Cloud to Hero Backers tier & rework updateSponsors script to also handle, well, sponsors ( #4226 )
2026-03-28 07:48:26 +01:00
Toma
d53f615cf3
fix(lucide-static): add viewBox attribute to sprite symbol elements ( #4223 )
...
Sprite symbols were missing the viewBox attribute, causing icons to be clipped instead of scaling proportionally when used at smaller sizes.
Fixes #2768
2026-03-28 07:47:55 +01:00
Eric Fennis
30bb61917b
ci(@lucide/angular): Fix publishing problem ( #4213 )
...
* ci(@lucide/angular): Fix publishing problem
* Format files
2026-03-26 14:14:22 +01:00
Eric Fennis
dada0a8297
fix(lucide-react): Fix dynamic imports ( #4210 )
...
* fix(lucide-react): Fix dynamic imports
* Adjust imports
* Format code
* Ignore eslint error
2026-03-25 18:44:25 +01:00
Karsa
7a395122a1
feat(pipeline): revert to working-directory solution for testing
2026-03-24 16:10:24 +01:00
Karsa
d31ab1296d
fix(packages/angular): remove ./ from ng-packagr paths
2026-03-24 15:36:16 +01:00
Karsa
914919a4a3
fix(github/workflows): revert release workflow & add --fail-if-no-match ( #4201 )
...
* fix(github/workflows): revert release workflow & add --fail-if-no-match
fix(packages/angular): add "analytics": false to angular.json to prevent build prompt
* Apply suggestion from @ericfennis
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-03-24 10:25:25 +01:00
Colonel Jade
4880a2673b
fix(lucide-preact): add conditional exports map for ESM/CJS resolution ( #4198 )
...
Without an exports map, runtimes that follow the Node.js package resolution
spec (Node.js, Bun) ignore the non-standard 'module' field and fall back to
'main' (CJS), even when the importing code is pure ESM. Since 1.0.0, the
package uses useContext and useMemo from preact/hooks internally, making this
a runtime-breaking issue: the CJS build loads a separate preact/hooks instance
which crashes on every icon render with 'undefined is not an object'.
Fixes #4196
2026-03-24 09:07:36 +01:00
Karsa
956f618094
fix(packages/lucide-react-native): fix @lucide/shared module resolution error because of missing preserveModulesRoot ( #4199 )
2026-03-24 09:07:26 +01:00
Konrad Szajna
a362bd55bd
fix(astro): add Astro v6 compatibility ( #4135 )
...
* fix(astro): add Astro v6 compatibility
Update peer dependency to accept Astro v6 and bump dev dependency
to astro ^6.0.0.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* chore(astro): update devDependencies for post-v1 compatibility
Update vite to ^7.3.1, vitest to ^4.1.1, and astro to ^6.0.8
to align with Astro v6's requirement for Vite 7.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-23 21:14:26 +01:00
Eric Fennis
5cb0e14fb4
Fix export ( #4194 )
2026-03-23 17:12:49 +01:00
songkeys
a6e648a66f
fix(lucide-react): correct client directives in RSC files ( #4189 )
...
* fix(lucide-react): correct client directives in RSC files
* format code
* Add TS ignore
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-03-23 14:57:14 +01:00
Eric Fennis
1f010a357a
fix(lucide-react): Fixes provider export and RSC render issues ( #4175 )
...
* Fix ssr context
* Format code
2026-03-21 14:51:20 +01:00
Eric Fennis
f2346f20ad
fix preact build
2026-03-20 17:22:24 +01:00
Eric Fennis
484f2c9cd3
docs(version-1): Version 1 website ( #4142 )
...
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144 )
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org >
---------
Co-authored-by: Karsa <contact@karsa.org >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-20 17:04:28 +01:00
Karsa
a0e202d759
feat(packages/angular): add new @lucide/angular package ( #3897 )
...
* Add new lucide angular package
* feat(packages/angular): added initial @lucide/angular package
* feat(packages/angular): update readme
* feat(packages/angular): update angular.json
* docs(packages/angular): added (for now) full documentation for @lucide/angular
* docs(packages/angular): added migration guide from lucide-angular
* fix(github): fix package label syntax 😅
* fix(lint): fix linting issues
* fix(github/angular): add prebuild stage
* fix(github/angular): add prebuild stage & fix tests
* fix(github/angular): fix LucideIconComponentType, update with _real_ public members
* fix(github/angular): add prebuild to build step manually
* fix(github/angular): downgrade vitest
* fix(packages/angular): fix migration guide code example
* fix(packages): add vitest + @vitest/* to pnpm overrides
* fix(packages): update pnpm-lock with merged version
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix(packages): fix aria-hidden logic
* fix(packages): update pnpm-lock
* fix(packages): extract vitest and jsdom to root devDependencies
* Fix copy utils script
* Format code
* feat(packages/angular): switched to self-describing IconData object from separate node+name – no more toKebabCase hackery
feat(packages/angular): renamed LucideIconComponentType => LucideIcon, and LucideIcon => LucideDynamicIcon
feat(packages/angular): added backwards compatible CSS class support
feat(packages/angular): switched to vector-effect: non-scaling-stroke implementation from computed stroke width
feat(packages/angular): rewrote icon provider to only accept a list of self-described icons – no more toKebabCase hackery & as an added bonus automatic backwards compatible alias support 🚀
feat(packages/angular): added legacy icon node helper function for passing legacy icons to providers
test(packages/angular): added unit tests on LUCIDE_CONFIG provider usage
* fix(packages/angular): fix linting issues
* feat(packages/angular): extract createLucideIcon logic into helper function, refactor export template to use the iconData object as defined in ExportTemplate
* Replace author
* Remove private field
* fix(packages/angular): remove createLucideIcon, it breaks the package :'(
* fix(packages/angular): fix rendering order of child elements (_before_ projected content)
* Format package.json
* Update docs/guide/packages/angular.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/angular/MIGRATION.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-20 15:31:34 +01:00
Karsa
8fe835c105
feat(packages): added new @lucide/icons package ( #3881 )
...
* feat(packages): added lucide icons package skeleton
* feat(packages): added initial commit of @lucide/icons
* fix: fixed linting issues introduced in c4e5730bc4 (#3858 )
* fix(packages/icons): update package, remove UMD export
* fix(packages/icons): update github actions
* docs(packages/icons): add documentation for various helpers and types
* fix(.github/ISSUE_TEMPLATE): fix linting issue (@ is a reserved character)
* fix(packages/icons): fix linting issues in configs
* feat(packages/icons): rename from packages/lucide-icons => packages/icons
* fix(pnpm): update lockfile
* fix(packages/icons): update readme and documentation
* fix(packages/icons): update absoluteStrokeWidth implementation
* test(packages/icons): update absoluteStrokeWidth unit test
* feat(packages/icons): add backwards compatible alias support in buildLucideIconNode
* feat(packages/icons): fix linting issues in build tools
* fix(packages/icons): rename LucideIcon => LucideIconData
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-03-13 10:18:53 +01:00
Eric Fennis
e4f1de7635
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2026-03-13 09:21:35 +01:00
Bhav Beri
4d44278d3e
docs(svelte): clarify Svelte 4 vs Svelte 5 Lucide packages ( #4107 )
...
* Clarify package usage for Svelte 4 and 5
@lucide/svelte is specified for Svelte 5, with a note for Svelte 4 users to use lucide-svelte instead.
* Add message in lucide-svelte README as well
* Update the docs installation page to match the svelte docs page
2026-03-12 13:36:55 +01:00
Eric Fennis
c5b155ec37
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2026-03-05 18:47:02 +01:00
dependabot[bot]
f6c0d0603a
chore(deps): bump rollup from 4.53.3 to 4.59.0 ( #4106 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.53.3 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.53.3...v4.59.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-version: 4.59.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 07:22:10 +01:00
Eric Fennis
5720278ef7
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2026-02-21 13:04:38 +01:00
Eric Fennis
267f22dced
fix(lucide): Fix ESM Module output path in build ( #4084 )
...
* Fix module output path
* Format code
2026-02-19 10:11:52 +01:00
Eric Fennis
c619ce988c
Fix tests
2026-02-06 11:55:03 +01:00
Eric Fennis
cbaaf4e21e
fix(@lucide/svelte): Fix build in ( #4026 )
...
* Fix build
* Adds extra typechecking
* Format code
2026-01-23 14:06:15 +01:00
Eric Fennis
628d4f903a
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2026-01-23 08:00:19 +01:00
Karsa
67c0485457
feat(scripts): added helper script to automatically update OpenCollective backers in all readmes ( #4014 )
...
feat(docs): upgraded backers as per the recurring contributions in the last 3 months
2026-01-22 11:27:39 +01:00
Eric Fennis
b6ed43d48c
feat(packages): Added aria-hidden fallback for decorative icons to all packages ( #3604 )
...
* Add aria hidden to lucide package
* Add aria-hidden to astro package
* Add tests for shared package
* Fix test for props
* add aria prop to lucide-solid
* Add aria-hidden to lucide-vue-next
* Add aria-hidden prop to angular package
* Fix builds
* Add notice about aria-label in docs
* Format code
* Update packages/svelte/tests/Icon.spec.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/lucide-svelte/tests/Icon.spec.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/shared/src/utils/hasA11yProp.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Adjusted docs
* Fix import
* update tests
* test(shared): fix hasA11yProp unit test
* fix(packages/lucide-angular): fix hasA11yProp import path (non-relative import path will not get properly resolved by ng-packagr)
* Format code
* Adjust aria props to root element
* Format code
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Karsa <contact@karsa.org >
2026-01-20 15:55:02 +01:00
Eric Fennis
603274ccaf
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2026-01-20 08:19:40 +01:00
dependabot[bot]
3cec234405
chore(deps-dev): bump preact from 10.27.2 to 10.27.3 ( #3955 )
...
Bumps [preact](https://github.com/preactjs/preact ) from 10.27.2 to 10.27.3.
- [Release notes](https://github.com/preactjs/preact/releases )
- [Commits](https://github.com/preactjs/preact/compare/10.27.2...10.27.3 )
---
updated-dependencies:
- dependency-name: preact
dependency-version: 10.27.3
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-01-10 17:34:30 +01:00
Eric Fennis
0c6dfeb64c
feat(context-providers): Adding Context providers ( #3315 )
...
* Add context provider for svelte package
* Add context provider for react
* Remove old vue 2 package
* Add @lucide/vue package
* Remove old vue 2 doc
* Update docs
* Adjust export template
* Add context provider to solid package
* Fix context
* Implement context providers
* Add context provider to preact
* Adjust vue package!
* Fix tests
* Format code
* Add context provider for Vue
* Improve memoization
* Update packages/lucide-react-native/tests/context.spec.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply fixes
* Cleanup
* Formatting
* Move on
* Update packages/lucide-react/tests/context.spec.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/lucide-preact/tests/context.spec.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update packages/vue/tests/context.spec.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove x
* update export template
* apply feedback
* fix export template
* Fixes types and tests
* fix tests
* apply feedback
* Remove class
* Formatting
* Update packages/svelte/src/context.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Remove fill form context providers
* formatting
* Add classname to context provider
* Apply feedback
* Format code
* Rename files
* Rename tsx to ts
* Format file
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-02 09:47:29 +01:00
Eric Fennis
5fab4e7bc8
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2025-12-22 08:12:08 +01:00
Jacek Tomaszewski
7a68e10b12
fix(lucide-react-native): remove icons namespace export to enable tree-shaking ( #3868 )
...
* fix(lucide-react-native): remove icons namespace export to enable tree-shaking
The `export * as icons from './icons'` statement defeats tree-shaking
because bundlers cannot determine which exports from the namespace are
actually used at build time. This causes all 1600+ icons to be included
in the final bundle even when only a few are imported.
This change removes the namespace re-export while keeping all individual
icon exports available via `export * from './icons'`.
BREAKING CHANGE: The `icons` namespace export is no longer available.
Users should import icons directly: `import { Activity } from 'lucide-react-native'`
instead of `import { icons } from 'lucide-react-native'; icons.Activity`.
* Add icons entry file to improve treeshaking
* Format code
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2025-12-18 11:44:26 +01:00
Jakob Guddas
a4531a9985
fix(react-native-web): only add className prop to parent Icon component ( #3892 )
2025-12-18 11:43:31 +01:00
Eric Fennis
7327637532
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2025-11-27 10:56:13 +01:00
Eric Fennis
076e0bbcd9
chore(dependencies): Update dependencies ( #3809 )
...
* update deps
* Remove ignoredBuiltDependencies
* Fix build errors
* try this
* update config
* add coma
* Try this
* Revert import change
* try this
* add wasm import
* Load wasm
* try this
* Revert nitro version change
* Revert nitro config change
2025-11-27 10:50:19 +01:00
Eric Fennis
08bd4b33a0
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
2025-11-21 14:58:50 +01:00
Jeevan Mahesha
a3886eb829
feat(angular): update peer dependencies for Angular to support version 21.x ( #3807 )
2025-11-21 10:37:24 +01:00
Eric Fennis
80d6f737e0
fix(icons): Rename fingerprint icon to fingerprint-pattern ( #3767 )
...
* Rename fingerprint icon
* Fix as well for lucide-react
* Fix lint error
2025-11-17 09:32:09 +01:00