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
<PackageReference Include="Soenneker.Quark.Gen.SimpleIcons.Abstractions" Version="4.0.29" />
<PackageVersion Include="Soenneker.Quark.Gen.SimpleIcons.Abstractions" Version="4.0.29" />
<PackageReference Include="Soenneker.Quark.Gen.SimpleIcons.Abstractions" />
paket add Soenneker.Quark.Gen.SimpleIcons.Abstractions --version 4.0.29
#r "nuget: Soenneker.Quark.Gen.SimpleIcons.Abstractions, 4.0.29"
#:package Soenneker.Quark.Gen.SimpleIcons.Abstractions@4.0.29
#addin nuget:?package=Soenneker.Quark.Gen.SimpleIcons.Abstractions&version=4.0.29
#tool nuget:?package=Soenneker.Quark.Gen.SimpleIcons.Abstractions&version=4.0.29
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 | Versions 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. |
-
.NETStandard 2.0
-
net10.0
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 |
Update dependency dotnet-sdk to v10.0.402 (#175)
Automatically merged