VOOZH about

URL: https://www.nuget.org/packages/Soenneker.Quark.Gen.Lucide/

⇱ NuGet Gallery | Soenneker.Quark.Gen.Lucide 4.0.143




👁 Image
Soenneker.Quark.Gen.Lucide 4.0.143

Prefix Reserved
dotnet add package Soenneker.Quark.Gen.Lucide --version 4.0.143
 
 
NuGet\Install-Package Soenneker.Quark.Gen.Lucide -Version 4.0.143
 
 
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.143">
 <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.143" />
 
Directory.Packages.props
<PackageReference Include="Soenneker.Quark.Gen.Lucide">
 <PrivateAssets>all</PrivateAssets>
 <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
 
Project file
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.143
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Quark.Gen.Lucide, 4.0.143"
 
 
#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.143
 
 
#: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.143
 
Install as a Cake Addin
#tool nuget:?package=Soenneker.Quark.Gen.Lucide&version=4.0.143
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image

👁 alternate text is missing from this package README image
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

  1. BuildTasks (runs before Build): Scans .cs and .razor files for Lucide icon usage (Icon="LucideIcon.Arrow", LucideIcon.Check, etc.)
  2. Reads SVGs from the Soenneker.Lucide.Icons package (NuGet cache)
  3. Emits LucideIconSvgMap.g.cs with 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.

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.143 0 6/19/2026
4.0.142 0 6/19/2026
4.0.141 240 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 189 6/10/2026
4.0.133 522 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
4.0.121 384 6/5/2026
Loading failed