StackExchange.StacksIcons
7.0.0
Prefix Reserved
dotnet add package StackExchange.StacksIcons --version 7.0.0
NuGet\Install-Package StackExchange.StacksIcons -Version 7.0.0
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="StackExchange.StacksIcons" Version="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StackExchange.StacksIcons" Version="7.0.0" />
<PackageReference Include="StackExchange.StacksIcons" />
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 StackExchange.StacksIcons --version 7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StackExchange.StacksIcons, 7.0.0"
#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 StackExchange.StacksIcons@7.0.0
#: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=StackExchange.StacksIcons&version=7.0.0
#tool nuget:?package=StackExchange.StacksIcons&version=7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Stacks-Icons
dotnet add package StackExchange.StacksIcons
This package provides an SVG helper for use in Razor and other contexts:
@using StackExchange.StacksIcons
<div>
// icons and spots return an `HtmlString` for safe use in Razor
@Svg.Answer
@Svg.Spot.Wave
// the `With` method can take css classes and title text to add to the svg
@Svg.Answer.With(cssClass: "fc-danger", title: "foo")
</div>
Enum definitions and lookup dictionaries for all icons/spots are also provided:
using StackExchange.StacksIcons;
StacksIcon iconName = StacksIcon.Answer;
HtmlString icon = Svg.Lookup[iconName]; // icon is now set to the value in Svg.Answer
StacksSpot spotName = StacksSpot.Wave;
HtmlString spot = Svg.Spot.Lookup[spotName]; // spot is now set to the value in Svg.Spot.Wave
| 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
- System.Collections.Immutable (>= 9.0.9)
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 |
|---|---|---|
| 7.0.0 | 96 | 8/14/2026 |
| 7.0.0-beta.29 | 54 | 8/12/2026 |
| 7.0.0-beta.23 | 6,129 | 3/19/2026 |
| 7.0.0-beta.22 | 70 | 3/19/2026 |
| 7.0.0-beta.21 | 76 | 2/26/2026 |
| 7.0.0-beta.20 | 67 | 2/23/2026 |
| 7.0.0-beta.18 | 76 | 2/3/2026 |
| 7.0.0-beta.17 | 80 | 2/3/2026 |
| 7.0.0-beta.16 | 80 | 1/28/2026 |
| 7.0.0-beta.15 | 78 | 1/19/2026 |
| 7.0.0-beta.14 | 721 | 12/18/2025 |
| 7.0.0-beta.13 | 249 | 12/18/2025 |
| 7.0.0-beta.12 | 252 | 12/18/2025 |
| 7.0.0-beta.11 | 251 | 12/17/2025 |
| 7.0.0-beta.10 | 247 | 12/17/2025 |
| 7.0.0-beta.8 | 428 | 12/10/2025 |
| 7.0.0-beta.7 | 1,376 | 12/3/2025 |
| 7.0.0-beta.4 | 458 | 11/18/2025 |
| 6.9.0 | 453 | 1/6/2026 |
| 6.8.0 | 15,567 | 11/17/2025 |
Loading failed