Skip to content

安装

🌐 Installation

Web

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

🌐 Implementation of the Lucide icon library for web applications.

sh
pnpm add lucide
sh
yarn add lucide
sh
npm install lucide
sh
bun add lucide
sh
deno add lucide

更多详情,请参见文档

🌐 For more details, see the documentation.

反应

🌐 React

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

🌐 Implementation of the Lucide icon library for React applications.

sh
pnpm add lucide-react
sh
yarn add lucide-react
sh
npm install lucide-react
sh
bun add lucide-react
sh
deno add lucide-react

欲了解更多详情,请参阅 文档。 对于 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
sh
deno 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
sh
yarn add @lucide/svelte
sh
npm install @lucide/svelte
sh
bun add @lucide/svelte
sh
deno add @lucide/svelte

@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
sh
yarn add lucide-solid
sh
npm install lucide-solid
sh
bun add lucide-solid
sh
deno add lucide-solid

更多详情,请参见文档

🌐 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
sh
deno 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
sh
yarn add lucide-preact
sh
npm install lucide-preact
sh
bun add lucide-preact
sh
deno add lucide-preact

更多详情,请参见文档

🌐 For more details, see the documentation.

Astro

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

🌐 Implementation of the Lucide icon library for Astro applications.

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

更多详情,请参见文档

🌐 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
sh
yarn add lucide-static
sh
npm install lucide-static
sh
bun add lucide-static
sh
deno add lucide-static

更多详情,请参见文档

🌐 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