Skip to content

安装

🌐 Installation

Web

在网页应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for web applications.

sh
pnpm add lucide@next
sh
yarn add lucide@next
sh
npm install lucide@next
sh
bun add lucide@next

更多详情,请参见文档

🌐 For more details, see the documentation.

反应

🌐 React

在 React 应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for React applications.

sh
pnpm add lucide-react@next
sh
yarn add lucide-react@next
sh
npm install lucide-react@next
sh
bun add lucide-react@next

欲了解更多详情,请参阅 文档。 对于 React Native,请使用 lucide-react-native 包。

🌐 For more details, see the documentation. For React Native use the lucide-react-native package.

Vue

在 Vue 应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for Vue applications.

sh
pnpm add @lucide/vue
sh
yarn add @lucide/vue
sh
npm install @lucide/vue
sh
bun add @lucide/vue

更多详情,请参见文档

🌐 For more details, see the documentation.

Svelte

在 Svelte 应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for Svelte applications.

sh
pnpm add @lucide/svelte@next
sh
yarn add @lucide/svelte@next
sh
npm install @lucide/svelte@next
sh
bun add @lucide/svelte@next

@lucide/svelte is only for Svelte 5, for Svelte 4 use the lucide-svelte package.

更多详情,请参见文档

🌐 For more details, see the documentation.

实线

🌐 Solid

在 Solid 应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for Solid applications.

sh
pnpm add lucide-solid@next
sh
yarn add lucide-solid@next
sh
npm install lucide-solid@next
sh
bun add lucide-solid@next

更多详情,请参见文档

🌐 For more details, see the documentation.

角度

🌐 Angular

在 Angular 应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for Angular applications.

sh
pnpm add @lucide/angular
sh
yarn add @lucide/angular
sh
npm install @lucide/angular
sh
bun add @lucide/angular

更多详情,请参见文档

🌐 For more details, see the documentation.

Preact

在 preact 应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for preact applications.

sh
pnpm add lucide-preact@next
sh
yarn add lucide-preact@next
sh
npm install lucide-preact@next
sh
bun add lucide-preact@next

更多详情,请参见文档

🌐 For more details, see the documentation.

Astro

在 Astro 应用中实现 Lucide 图标库。

🌐 Implementation of the Lucide icon library for Astro applications.

sh
pnpm add @lucide/astro@next
sh
yarn add @lucide/astro@next
sh
npm install @lucide/astro@next
sh
bun add @lucide/astro@next

更多详情,请参见文档

🌐 For more details, see the documentation.

静态使用

🌐 Static usage

Lucide 图标库的实现,用于多种用途,如使用:SVG 文件图标、SVG 精灵、图标字体以及在 Common JS 模块(用于 NodeJS)中导出静态 SVG 字符串。

🌐 Implementation of the Lucide icon library for multiple usages that like to use: SVG files icons, SVG Sprite, Icon Fonts and static SVG strings export in Common JS modules (for NodeJS).

sh
pnpm add lucide-static@next
sh
yarn add lucide-static@next
sh
npm install lucide-static@next
sh
bun add lucide-static@next

更多详情,请参见文档

🌐 For more details, see the documentation.

Figma

Lucide Figma 插件。

🌐 The Lucide Figma plugin.

访问 Figma 社区页面 安装插件。

🌐 Visit Figma community page to install the plugin.

Setting Page Size