Back to Lucide

Installation

docs/guide/installation.md

1.22.03.7 KB
Original Source

Installation

Web

Implementation of the Lucide icon library for web applications.

::: code-group

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

Implementation of the Lucide icon library for React applications.

::: code-group

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

:::

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
sh
deno 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
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

Implementation of the Lucide icon library for Solid applications.

::: code-group

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

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
sh
deno 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
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

Implementation of the Lucide icon library for Astro applications.

::: code-group

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

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

The Lucide Figma plugin.

Visit Figma community page to install the plugin.