安装
Web
用于 Web 应用程序的 lucide 图标库实现。
sh
pnpm install lucide
sh
yarn add lucide
sh
npm install lucide
sh
bun add lucide
更多详情,请参阅文档。
React
用于 React 应用程序的 lucide 图标库实现。
sh
pnpm install lucide-react
sh
yarn add lucide-react
sh
npm install lucide-react
sh
bun add lucide-react
更多详情,请参阅文档。 对于 React Native,请使用 lucide-react-native
包。
Vue
用于 Vue 应用程序的 lucide 图标库实现。
sh
pnpm install lucide-vue-next
sh
yarn add lucide-vue-next
sh
npm install lucide-vue-next
sh
bun add lucide-vue-next
更多详情,请参阅文档。 对于 Vue 2,请使用 lucide-vue
包。
Svelte
用于 Svelte 应用程序的 lucide 图标库实现。
sh
pnpm install lucide-svelte
sh
yarn add lucide-svelte
sh
npm install lucide-svelte
sh
bun add lucide-svelte
更多详情,请参阅文档。
Solid
用于 Solid 应用程序的 lucide 图标库实现。
sh
pnpm install lucide-solid
sh
yarn add lucide-solid
sh
npm install lucide-solid
sh
bun add lucide-solid
更多详情,请参阅文档。
Angular
用于 Angular 应用程序的 lucide 图标库实现。
sh
pnpm install lucide-angular
sh
yarn add lucide-angular
sh
npm install lucide-angular
sh
bun add lucide-angular
更多详情,请参阅文档。
Preact
用于 Preact 应用程序的 lucide 图标库实现。
sh
pnpm install lucide-preact
sh
yarn add lucide-preact
sh
npm install lucide-preact
sh
bun add lucide-preact
更多详情,请参阅文档。
Astro
用于 Astro 应用程序的 lucide 图标库实现。
sh
pnpm install @lucide/astro
sh
yarn add @lucide/astro
sh
npm install @lucide/astro
sh
bun add @lucide/astro
更多详情,请参阅文档。
Static usage
用于多种用途的 lucide 图标库实现,例如:SVG 文件图标、SVG Sprite、图标字体,以及在 Common JS 模块(用于 NodeJS)中导出的静态 SVG 字符串。
sh
pnpm install lucide-static
sh
yarn add lucide-static
sh
npm install lucide-static
sh
bun add lucide-static
更多详情,请参阅文档。
Figma
Lucide Figma 插件。
访问 Figma 社区页面 以安装插件。
Flutter
用于 Flutter 应用程序的 Lucide 图标库实现。
bash
flutter pub add lucide_icons
更多详情,请参阅 pub.dev。