Files
lucide/packages/lab/README.md
T
9ecaafbc4d feat(lab): Migrate lab to main repo. (#4521)
* Add directory

* Add lab check script

* Delete duplicated icons

* Fix the lab page

* Adjust paths

* update lockfile

* update lockfile

* fix(lab/planet): replace with guideline-compliant design

* Add install step

* Add second install step

* Adjust lab in site

* try this

* Fix workflow

* Add cspell

* Format code

* Temporary delete icons for copilot review

* Place back lab icons

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Update lock file

* Revert svg changes

* Fix list

* Rename filenames

* Format tsconfig

---------

Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-24 15:05:40 +02:00

134 lines
2.0 KiB
Markdown

# Lucide Lab
## Installation
```sh
npm install @lucide/lab
```
```sh
yarn add @lucide/lab
```
```sh
pnpm install @lucide/lab
```
> [!NOTE]
> Requires Lucide core package to be installed in your project. For more info visit [lucide installation guide](https://lucide.dev/guide/installation).
## Usage
### React
```jsx
import { burger } from '@lucide/lab';
import { Icon } from 'lucide-react';
function App() {
return (
<div>
<Icon iconNode={burger} />
</div>
);
}
```
### Vue
```vue
<script setup>
import { burger } from '@lucide/lab';
import { Icon } from 'lucide-vue-next';
</script>
<template>
<div>
<Icon :iconNode="burger" />
</div>
</template>
```
### Angular
```angular
// app.module.ts
import { LucideAngularModule } from 'lucide-angular';
import { atSignCircle } from '@lucide/lab';
@NgModule({
imports: [
LucideAngularModule.pick({ AtSignCircle: atSignCircle })
],
})
// app.component.html
<lucide-icon name = "AtSignCircle" > </lucide-icon>
```
### Svelte
```svelte
<script>
import { Icon } from 'lucide-svelte';
import { burger, sausage } from '@lucide/lab';
</script>
<Icon iconNode={burger} />
<Icon iconNode={sausage} color="red"/>
```
### Solid
```jsx
import { burger } from '@lucide/lab';
import { Icon } from 'lucide-solid';
function App() {
return (
<div>
<Icon iconNode={burger} />
</div>
);
}
```
### Preact
```jsx
import { burger } from '@lucide/lab';
import { Icon } from 'lucide-preact';
function App() {
return (
<div>
<Icon iconNode={burger} />
</div>
);
}
```
### React Native
```jsx
import { burger } from '@lucide/lab';
import { Icon } from 'lucide-react-native';
function App() {
return (
<div>
<Icon iconNode={burger} />
</div>
);
}
```
## Community
Join the community on our [Discord](https://discord.gg/EH6nSts) server!
## License
Lucide is totally free for commercial and personal use; this software is licensed under the [ISC License](https://github.com/lucide-icons/lucide/blob/main/LICENSE).