-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Florian BOUILLON <[email protected]>
- Loading branch information
1 parent
1bae297
commit fc0eb04
Showing
5 changed files
with
9,708 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,41 @@ | ||
# lucide-astro | ||
# lucide-astro | ||
|
||
Astro library to get the Lucide.dev icons to the Astro Framework | ||
|
||
_We follow the Lucide versions for our release, with the exception of the patches_ | ||
|
||
## Installation | ||
|
||
``` | ||
npm i lucide-astro | ||
``` | ||
|
||
``` | ||
yarn add lucide-astro | ||
``` | ||
|
||
## Usage | ||
|
||
You can import each icons individually like below | ||
|
||
```astro | ||
--- | ||
import { WifiOff } from 'lucide-astro' | ||
--- | ||
<Layout> | ||
<WifiOff /> | ||
</Layout> | ||
``` | ||
|
||
## Compile | ||
|
||
1. run `npm i` to install the dependencies | ||
2. run `npm run build` to launch the build | ||
3. done! you can publish it or use it as you like | ||
|
||
## Attributions | ||
|
||
Use the awesome icons from [Lucide](https://lucide.dev/) | ||
|
||
based on [astro-feather](https://github.com/gabrlyg/astro-feather) |
Oops, something went wrong.