mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 21:37:43 +01:00
feat(docs): add Bun.sh support to documentation (#2642)
This commit is contained in:
@@ -127,7 +127,7 @@ When adding new features to for example the icon component for a framework. It i
|
|||||||
|
|
||||||
### Local Testing
|
### Local Testing
|
||||||
|
|
||||||
To test changes in a local project, you can use `yarn link`, `npm link` or `pnpm link` to link the package. Before you do this make sure you builded the package first.
|
To test changes in a local project, you can use `yarn link`, `npm link`, `bun link` or `pnpm link` to link the package. Before you do this make sure you builded the package first.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# in packages/lucide-react
|
# in packages/lucide-react
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ yarn add lucide
|
|||||||
npm install lucide
|
npm install lucide
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For more details, see the [documentation](packages/lucide.md).
|
For more details, see the [documentation](packages/lucide.md).
|
||||||
@@ -44,6 +48,10 @@ yarn add lucide-react
|
|||||||
npm install lucide-react
|
npm install lucide-react
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-react
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For more details, see the [documentation](packages/lucide-react.md).
|
For more details, see the [documentation](packages/lucide-react.md).
|
||||||
@@ -67,6 +75,10 @@ yarn add lucide-vue-next
|
|||||||
npm install lucide-vue-next
|
npm install lucide-vue-next
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-vue-next
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For more details, see the [documentation](packages/lucide-vue-next.md).
|
For more details, see the [documentation](packages/lucide-vue-next.md).
|
||||||
@@ -90,6 +102,10 @@ yarn add lucide-svelte
|
|||||||
npm install lucide-svelte
|
npm install lucide-svelte
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-svelte
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For more details, see the [documentation](packages/lucide-svelte.md).
|
For more details, see the [documentation](packages/lucide-svelte.md).
|
||||||
@@ -112,6 +128,10 @@ yarn add lucide-solid
|
|||||||
npm install lucide-solid
|
npm install lucide-solid
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-solid
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For more details, see the [documentation](packages/lucide-solid.md).
|
For more details, see the [documentation](packages/lucide-solid.md).
|
||||||
@@ -134,6 +154,10 @@ yarn add lucide-angular
|
|||||||
npm install lucide-angular
|
npm install lucide-angular
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-angular
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For more details, see the [documentation](packages/lucide-angular.md).
|
For more details, see the [documentation](packages/lucide-angular.md).
|
||||||
@@ -156,6 +180,10 @@ yarn add lucide-preact
|
|||||||
npm install lucide-preact
|
npm install lucide-preact
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-preact
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Static usage
|
## Static usage
|
||||||
@@ -176,6 +204,10 @@ yarn add lucide-static
|
|||||||
npm install lucide-static
|
npm install lucide-static
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-static
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
For more details, see the [documentation](packages/lucide-static.md).
|
For more details, see the [documentation](packages/lucide-static.md).
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ yarn add lucide-angular
|
|||||||
npm install lucide-angular
|
npm install lucide-angular
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-angular
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ yarn add lucide-preact
|
|||||||
npm install lucide-preact
|
npm install lucide-preact
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-preact
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ yarn add lucide-react-native
|
|||||||
npm install lucide-react-native
|
npm install lucide-react-native
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-react-native
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ yarn add lucide-react
|
|||||||
npm install lucide-react
|
npm install lucide-react
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-react
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ yarn add lucide-solid
|
|||||||
npm install lucide-solid
|
npm install lucide-solid
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-solid
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -33,6 +33,10 @@ yarn add lucide-static
|
|||||||
npm install lucide-static
|
npm install lucide-static
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-static
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
### CDN
|
### CDN
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ yarn add lucide-svelte
|
|||||||
npm install lucide-svelte
|
npm install lucide-svelte
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-svelte
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ yarn add lucide-vue-next
|
|||||||
npm install lucide-vue-next
|
npm install lucide-vue-next
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-vue-next
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ yarn add lucide-vue
|
|||||||
npm install lucide-vue
|
npm install lucide-vue
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide-vue
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ yarn add lucide
|
|||||||
npm install lucide
|
npm install lucide
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh [bun]
|
||||||
|
bun add lucide
|
||||||
|
```
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
### CDN
|
### CDN
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide-angular
|
|||||||
yarn add lucide-angular
|
yarn add lucide-angular
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-angular
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-angular)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-angular)
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide-preact
|
|||||||
yarn add lucide-preact
|
yarn add lucide-preact
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-preact
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-preact)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-preact)
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide-react-native
|
|||||||
yarn add lucide-react-native
|
yarn add lucide-react-native
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-react-native
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-react-native)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-react-native)
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide-react
|
|||||||
yarn add lucide-react
|
yarn add lucide-react
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-react
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-react)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-react)
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide-solid
|
|||||||
yarn add lucide-solid
|
yarn add lucide-solid
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-solid
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-solid)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-solid)
|
||||||
|
|||||||
@@ -57,6 +57,10 @@ npm install lucide-static
|
|||||||
yarn add lucide-static
|
yarn add lucide-static
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-static
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-static)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-static)
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide-svelte
|
|||||||
yarn add lucide-svelte
|
yarn add lucide-svelte
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-svelte
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-svelte)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-svelte)
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide-vue-next
|
|||||||
yarn add lucide-vue-next
|
yarn add lucide-vue-next
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-vue-next
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-vue-next)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-vue-next)
|
||||||
|
|||||||
@@ -47,6 +47,10 @@ npm install lucide-vue
|
|||||||
yarn add lucide-vue
|
yarn add lucide-vue
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide-vue
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-vue)
|
For full documentation, visit [lucide.dev](https://lucide.dev/guide/packages/lucide-vue)
|
||||||
|
|||||||
@@ -43,6 +43,10 @@ npm install lucide
|
|||||||
yarn add lucide
|
yarn add lucide
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun add lucide
|
||||||
|
```
|
||||||
|
|
||||||
### CDN
|
### CDN
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|||||||
Reference in New Issue
Block a user