Files
lucide/packages/lucide-react-native
Daud Tariq bfe90f03d9 fix(lucide-react-native): include license banner once instead of in every module (#5194)
With `preserveModules`, rollup-plugin-license prepends the @license banner
to every emitted module, so all ~2,370 files in dist/esm and dist/cjs carried
it. Minifiers keep @license comments, so consumer bundles ended up with the
text repeated many times (#3744).

Add an opt-in `licenseBannerExclude` option to the shared rollup plugins and
use it in lucide-react-native to keep the banner only on `Icon`. Every icon
imports `createLucideIcon`, which imports `Icon`, and direct use of the `Icon`
component imports it too, so the license is still included in production
builds, exactly once.

Other packages are unchanged: the option defaults to no filtering.
2026-11-12 08:20:16 +01:00
..
2026-11-02 12:21:25 +01:00

Lucide icon library for React Native applications.

Lucide icon library for React Native applications.

npm NPM Downloads License

About · Icons · Documentation · License

Lucide React Native

Implementation of the Lucide icon library for React Native applications.

Installation

pnpm add lucide-react-native
npm install lucide-react-native
yarn add lucide-react-native
bun add lucide-react-native

Documentation

For full documentation, visit lucide.dev

Community

Join the Discord server to chat with the maintainers and other users.

License

Lucide is licensed under the ISC license. See LICENSE.

Sponsors

Powered by Vercel

Bronze 🥉

Sourcegraph – Understand, fix, and automate across your codebase with Sourcegraph's code intelligence platform    Zephyr Cloud

Other contributors 💸

You can find all our past and non-recurring financial contributors at our Open Collective page.