Back to Lucide

Installation

docs/guide/installation.md

1.14.03.5 KB
Original Source

Installation

Web

Implementation of the Lucide icon library for web applications.

::: code-group

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

Implementation of the Lucide icon library for React applications.

::: code-group

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

:::

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

Vue

Implementation of the Lucide icon library for Vue applications.

::: code-group

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

Implementation of the Lucide icon library for Svelte applications.

::: code-group

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

Implementation of the Lucide icon library for Solid applications.

::: code-group

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

Implementation of the Lucide icon library for Angular applications.

::: code-group

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

Implementation of the Lucide icon library for preact applications.

::: code-group

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

Implementation of the Lucide icon library for Astro applications.

::: code-group

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

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).

::: code-group

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

The Lucide Figma plugin.

Visit Figma community page to install the plugin.