We value your feedback!

Can you spare a moment to take our survey?
Your feedback helps us improve Lucide and make it better for everyone.

Skip to content
Get JavaScript certificates from certificates.dev

安装

Web

Lucide 图标库在 Web 应用程序中的实现。

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

更多详情,请参阅 文档

React

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

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 包。

Vue

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

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

更多详情,请参阅 文档

Svelte

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

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 仅适用于 Svelte 5,对于 Svelte 4 请使用 lucide-svelte 包。

更多详情,请参阅 文档

Solid

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

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

更多详情,请参阅 文档

Angular

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

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

更多详情,请参阅 文档

Preact

Lucide 图标库在 Preact 应用程序中的实现。

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

更多详情,请参阅 文档

Astro

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

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

更多详情,请参阅 文档

静态用法

Lucide 图标库的实现,适用于多种用法,例如:SVG 文件图标、SVG 精灵图、图标字体以及在 Common JS 模块中导出的静态 SVG 字符串(适用于 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

更多详情,请参阅 文档

Figma

Lucide Figma 插件。

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

设置页面大小