Awesome
lucide-blazor
⚠⚠⚠ Please be aware this project was merely meant for myself to discover how source generators in C# work. This repository is not maintained.
This is an unofficial Blazor adaption for the Lucide icon pack. For a list of available icons check https://lucide.dev/ or find them in the Lucide repository.
Installation
To add nuget sources for this package, follow these steps.
dotnet add <your_project.csproj> package Lucide.Blazor
Usage
Import the following in your razor files:
@using Lucide.Blazor.Components
Basic
<Icon Name="bug" />
Change color
<Icon Name="bug" Stroke="blue" />
Change size
<Icon Name="bug" Width="100" Height="100" />
Apply css classes
<Icon Name="bug" Css="icon-style" />
More examples
Check the example project for a running project.
Licenses
Check the license file for this repository. Check the license file for Lucide icons.