Soenneker.Quark.Gen.Lucide
4.0.145
Prefix Reserved
dotnet add package Soenneker.Quark.Gen.Lucide --version 4.0.145
NuGet\Install-Package Soenneker.Quark.Gen.Lucide -Version 4.0.145
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="Soenneker.Quark.Gen.Lucide" Version="4.0.145"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Quark.Gen.Lucide" Version="4.0.145" />
<PackageReference Include="Soenneker.Quark.Gen.Lucide"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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 Soenneker.Quark.Gen.Lucide --version 4.0.145
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Quark.Gen.Lucide, 4.0.145"
#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 Soenneker.Quark.Gen.Lucide@4.0.145
#: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=Soenneker.Quark.Gen.Lucide&version=4.0.145
#tool nuget:?package=Soenneker.Quark.Gen.Lucide&version=4.0.145
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Quark.Gen.Lucide
Build-time source generation for Lucide icons in Quark and Razor projects
Installation
dotnet add package Soenneker.Quark.Gen.Lucide
dotnet add package Soenneker.Lucide.Enums.Icons
dotnet add package Soenneker.Lucide.Icons
What it does
- BuildTasks (runs before Build): Scans .cs and .razor files for Lucide icon usage (
Icon="LucideIcon.Arrow",LucideIcon.Check, etc.) - Reads SVGs from the Soenneker.Lucide.Icons package (NuGet cache)
- Emits
LucideIconSvgMap.g.cswith a switch that maps icon names to SVG content
Usage
Use LucideIcon enum values in components, e.g.:
<SomeComponent Icon="LucideIcon.Arrow" />
<SomeComponent Icon="@LucideIcon.Check" />
var icon = LucideIcon.Arrow;
The generator emits a static helper:
var svg = LucideIconSvgMap.GetSvg("Arrow"); // "<svg xmlns=\"...\">...</svg>"
How it works
The package includes MSBuild targets that run Soenneker.Quark.Gen.Lucide.BuildTasks before each build. The tool scans your project for Lucide icon references and generates obj/Generated/LucideIconSvgMap.g.cs, which is compiled into your assembly. Override the output path with:
<PropertyGroup>
<LucideSvgMapOutput>$(IntermediateOutputPath)MyPath\LucideIconSvgMap.g.cs</LucideSvgMapOutput>
</PropertyGroup>
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Soenneker.Quark.Gen.Lucide.Abstractions (>= 4.0.14)
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 |
|---|---|---|
| 4.0.145 | 0 | 6/19/2026 |
| 4.0.143 | 0 | 6/19/2026 |
| 4.0.142 | 44 | 6/19/2026 |
| 4.0.141 | 604 | 6/18/2026 |
| 4.0.140 | 169 | 6/17/2026 |
| 4.0.139 | 304 | 6/17/2026 |
| 4.0.138 | 1,234 | 6/13/2026 |
| 4.0.137 | 618 | 6/10/2026 |
| 4.0.136 | 159 | 6/10/2026 |
| 4.0.135 | 193 | 6/10/2026 |
| 4.0.133 | 523 | 6/9/2026 |
| 4.0.131 | 725 | 6/9/2026 |
| 4.0.129 | 82 | 6/9/2026 |
| 4.0.128 | 717 | 6/7/2026 |
| 4.0.127 | 170 | 6/7/2026 |
| 4.0.126 | 274 | 6/6/2026 |
| 4.0.125 | 201 | 6/6/2026 |
| 4.0.124 | 219 | 6/6/2026 |
| 4.0.123 | 388 | 6/6/2026 |
| 4.0.122 | 312 | 6/5/2026 |
Loading failed