Skip to content

[not maintained] Unofficial Blazor adaption for the Lucide icon pack

License

Notifications You must be signed in to change notification settings

brecht-vde/lucide-blazor

Repository files navigation

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.

build, test and release main branch build and test pull requests update lucide

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.

About

[not maintained] Unofficial Blazor adaption for the Lucide icon pack

Resources

License

Stars

Watchers

Forks

Packages