Lucide.NET.Blazor
0.1.2
dotnet add package Lucide.NET.Blazor --version 0.1.2
NuGet\Install-Package Lucide.NET.Blazor -Version 0.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lucide.NET.Blazor" Version="0.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lucide.NET.Blazor" Version="0.1.2" />
<PackageReference Include="Lucide.NET.Blazor" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Lucide.NET.Blazor --version 0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lucide.NET.Blazor, 0.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Lucide.NET.Blazor@0.1.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Lucide.NET.Blazor&version=0.1.2
#tool nuget:?package=Lucide.NET.Blazor&version=0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Lucide.NET
Lucide.NET provides fast, strongly-typed Lucide icons for the C# ecosystem with first-class support for WPF, WinForms, and Blazor.
Packages
Lucide.NET.Core(shared icon catalog + SVG retrieval)Lucide.NET.Wpf(WPF controls and markup extension)Lucide.NET.WinForms(WinForms bitmap/icon helpers)Lucide.NET.Blazor(Blazor component)
Install
dotnet add package Lucide.NET.Core
dotnet add package Lucide.NET.Wpf
dotnet add package Lucide.NET.WinForms
dotnet add package Lucide.NET.Blazor
WPF
<Window
xmlns:lucide="http://lucide.net/wpf">
<StackPanel>
<lucide:LucideIcon Kind="Home" Size="20" StrokeThickness="2" Stroke="DodgerBlue" />
<Image Source="{lucide:LucideImage Home, Size=18, Brush=Black}" />
</StackPanel>
</Window>
Lucide.NET.Wpf uses the SharpVectors.Wpf package (v1.8.5) to convert SVG markup into frozen DrawingImage instances.
WinForms
using System.Drawing;
using Lucide.NET;
using Lucide.NET.WinForms;
var bitmap = LucideWinForms.ToBitmap(LucideIconKind.House, 24, Color.Black);
var icon = LucideWinForms.ToIcon(LucideIconKind.CircleAlert, 16, Color.DarkRed);
Lucide.NET.WinForms uses the Svg package (v3.4.7) to rasterize SVG markup into cached Bitmap instances.
Blazor
@using Lucide.NET
@using Lucide.NET.Blazor
<LucideIcon Kind="LucideIconKind.ShoppingCart" Size="24" Stroke="currentColor" StrokeWidth="2" />
Performance and Caching
- Core caches decompressed SVG strings by
LucideIconKind. - WPF caches frozen
DrawingImageinstances by kind, size, stroke thickness, and stroke color. - WinForms caches rasterized
Bitmapinstances by kind, size, stroke width, color, and DPI.ToBitmapreturns the cached instance; clone it if you need to dispose:
using var bitmap = new Bitmap(LucideWinForms.ToBitmap(LucideIconKind.House, 24, Color.Black));
Updating Icons
- Download or copy Lucide SVGs:
.\eng\icons\update-lucide.ps1 -Version main
.\eng\icons\update-lucide.ps1 -SourcePath C:\path\to\lucide
- Run the generator:
.\eng\icons\generate.ps1 -InputPath .\eng\icons\lucide
- Commit generated files in
src/Lucide.NET.Core/Generatedandsrc/Lucide.NET.Core/Resources.
License
MIT. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Lucide.NET.Core (>= 0.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.2 | 128 | 2/12/2026 |