/lucide-blazor

Blazor adaption for the Lucide icon pack

Primary LanguageC#MIT LicenseMIT

lucide-blazor

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

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.