It also shows a small preview of the icons you imported with the link to the lucide website. Dynamic Imports Map (experimental) Addition to #1373 (closed). Lucide react now exposes a dynamic import map dynamicIconImports. Useful for applications that want to show icons dynamically by icon ...
This one fetches the icon data itself and renders it instead of fetching the Icon component from the library. This makes it more flexible with all the frontend frameworks and libraries that exist for React. 🚨 Not recommended for regular applications that work fine with the regular static icon...
"cjs": Import the icons as CommonJS modules. This option is useful if you use a CommonJS-compatible framework like React or Vue. It will automatically replace the imports with the correct syntax depending on whether your framework supports CJS or not. ...
{"framework":"React","typescript":false,"iconsDirectory":"src/components/lucide","defaultSize":24,"defaultStrokeWidth":2} Always update icons after changing the configuration. npx lucide-cli update If you change the directory, the tool will not remove the icons from the previous directory. Yo...
fix(lucide-react): Revert exports property package.json, fixing edge … … Unverified 2ef6513 ericfennis added a commit that referenced this pull request Feb 24, 2025 fix(icons): optimized beef icon (#2832) … Verified 1250fc2 Kayoshi-dev mentioned this pull request Feb 25, 2025 Can...
A simple, type-safe React component for displaying Lucide icons with autocomplete functionality. Installation npm i lucide-icon-component Usage import Icon from 'lucide-icon-component'; <Icon icon="user-check" size={24} />; Autocomplete The icon prop is type-safe, so you can use autocomplete...
npm install @react-native-vector-icons/lucide Usage importLucidefrom'@react-native-vector-icons/lucide';// ...<Lucidename="house"color="#ff0000"size={20}/> Contributing See thecontributing guideto learn how to contribute to the repository and the development workflow. ...
"description": "A React component for Lucide Icons", "main": "build/index.js", "directories": { 1,481 changes: 202 additions & 1,279 deletions 1,481 src/lucide-icon-config.ts Load diff Large diffs are not rendered by default. 0 comments on commit 52cd927 Please sign in to ...
Install lucide-react for icons. Incorporate lucide-react icons in the project. Observe the SyntaxError during the initial render. For better insight into my code, you can clone and checkmy repository. Checklist Sign up for freeto join this conversation on GitHub.Already have an account?Sign in...
feat(lucide-react): Add DynamicIcon component #2686 Draft ericfennis wants to merge 4 commits into lucide-icons:main from ericfennis:dynamic-importsDraft feat(lucide-react): Add DynamicIcon component #2686 ericfennis wants to merge 4 commits into lucide-icons:main from ericfennis:dynamic-...