Soenneker.Quark.Gen.SimpleIcons.Abstractions 4.0.29

Prefix Reserved
dotnet add package Soenneker.Quark.Gen.SimpleIcons.Abstractions --version 4.0.29
                    
NuGet\Install-Package Soenneker.Quark.Gen.SimpleIcons.Abstractions -Version 4.0.29
                    
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.SimpleIcons.Abstractions" Version="4.0.29" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Quark.Gen.SimpleIcons.Abstractions" Version="4.0.29" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Quark.Gen.SimpleIcons.Abstractions" />
                    
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.SimpleIcons.Abstractions --version 4.0.29
                    
#r "nuget: Soenneker.Quark.Gen.SimpleIcons.Abstractions, 4.0.29"
                    
#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.SimpleIcons.Abstractions@4.0.29
                    
#: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.SimpleIcons.Abstractions&version=4.0.29
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Quark.Gen.SimpleIcons.Abstractions&version=4.0.29
                    
Install as a Cake Tool

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.SimpleIcons.Abstractions

The SVG-provider contract shared by Quark Simple Icons components and build-time generation.

Install

dotnet add package Soenneker.Quark.Gen.SimpleIcons.Abstractions

Most applications should install Soenneker.Quark.Gen.SimpleIcons, which references this package and generates an implementation. Reference this package directly when a library needs only the contract or when supplying a custom provider.

Custom provider

using Microsoft.Extensions.DependencyInjection;
using Soenneker.Quark.Gen.SimpleIcons.Abstractions;
using Soenneker.Quark.Gen.SimpleIcons.Abstractions.Registrars;

public sealed class CustomSimpleIconsSvgProvider : ISimpleIconsSvgProvider
{
    public string? GetSvg(string iconName) => iconName switch
    {
        "Github" => "<svg></svg>",
        _ => null
    };
}

services.AddSimpleIconsAsScoped<CustomSimpleIconsSvgProvider>();

Icon names use the PascalCase SimpleIcon member name. GetSvg returns null when the provider does not contain that icon.

Registration lifetime

  • AddSimpleIconsAsScoped<TProvider>() creates one provider per scope and supports providers with scoped dependencies.
  • AddSimpleIconsSvgProviderAsSingleton<TProvider>() creates one provider for the application. Use it only when the provider and all of its dependencies are singleton-safe.

Both methods use TryAdd, so an existing ISimpleIconsSvgProvider registration is preserved.

The returned string is SVG markup and may be rendered as raw markup by the consuming component. Custom providers should return only trusted or sanitized SVG content.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Soenneker.Quark.Gen.SimpleIcons.Abstractions:

Package Downloads
Soenneker.Quark.Suite

Shadcn-powered Blazor UI, refined and modular.

Soenneker.Quark.Gen.SimpleIcons

Build-time source generation for Simple Icons icons in Quark and Razor projects

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.29 3,872 10/14/2026
4.0.28 180 10/14/2026
4.0.22 649 10/12/2026
4.0.21 94 10/12/2026
4.0.20 995 10/11/2026
4.0.19 4,743 10/2/2026
4.0.18 2,872 9/29/2026
4.0.17 1,807 9/26/2026
4.0.16 5,346 9/15/2026
4.0.15 3,222 9/12/2026
4.0.14 2,210 9/8/2026
4.0.13 6,936 8/30/2026
4.0.12 160 8/29/2026
4.0.11 117 8/29/2026
4.0.10 5,767 8/12/2026
4.0.9 5,127 7/28/2026
4.0.8 7,142 7/16/2026
4.0.7 1,197 7/15/2026
4.0.6 4,842 6/26/2026
4.0.5 2,445 6/19/2026
Loading failed

Update dependency dotnet-sdk to v10.0.402 (#175)

Automatically merged