StackExchange.StacksIcons
7.0.0-beta.18
Prefix Reserved
This is a prerelease version of StackExchange.StacksIcons.
dotnet add package StackExchange.StacksIcons --version 7.0.0-beta.18
NuGet\Install-Package StackExchange.StacksIcons -Version 7.0.0-beta.18
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-beta.18" />
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-beta.18" />
<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-beta.18
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StackExchange.StacksIcons, 7.0.0-beta.18"
#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-beta.18
#: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-beta.18&prerelease
#tool nuget:?package=StackExchange.StacksIcons&version=7.0.0-beta.18&prerelease
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 | net6.0 is compatible. 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 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.
-
net6.0
- System.Collections.Immutable (>= 9.0.9)
-
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-beta.18 | 38 | 2/3/2026 |
| 7.0.0-beta.17 | 42 | 2/3/2026 |
| 7.0.0-beta.16 | 45 | 1/28/2026 |
| 7.0.0-beta.15 | 45 | 1/19/2026 |
| 7.0.0-beta.14 | 639 | 12/18/2025 |
| 7.0.0-beta.13 | 222 | 12/18/2025 |
| 7.0.0-beta.12 | 223 | 12/18/2025 |
| 7.0.0-beta.11 | 221 | 12/17/2025 |
| 7.0.0-beta.10 | 223 | 12/17/2025 |
| 7.0.0-beta.8 | 398 | 12/10/2025 |
| 7.0.0-beta.7 | 1,025 | 12/3/2025 |
| 7.0.0-beta.4 | 430 | 11/18/2025 |
| 7.0.0-beta.3 | 253 | 11/11/2025 |
| 7.0.0-beta.2 | 157 | 10/28/2025 |
| 7.0.0-beta.1 | 149 | 10/27/2025 |
| 7.0.0-beta.0 | 152 | 10/14/2025 |
| 6.9.0 | 175 | 1/6/2026 |
| 6.8.0 | 7,040 | 11/17/2025 |
| 6.7.2 | 305 | 10/28/2025 |
| 6.7.1 | 219 | 10/28/2025 |
| 6.7.0 | 2,890 | 10/21/2025 |
| 6.6.2 | 315 | 9/19/2025 |
| 6.6.1 | 3,212 | 7/1/2025 |
| 6.6.0 | 224 | 7/1/2025 |
| 6.5.0 | 227 | 6/26/2025 |
| 6.4.0 | 15,699 | 6/16/2025 |
| 6.3.0 | 376 | 6/11/2025 |
| 6.2.0 | 810 | 3/25/2025 |
| 6.1.0 | 15,310 | 1/27/2025 |
| 6.0.1 | 36,210 | 2/21/2024 |
| 6.0.0 | 27,853 | 10/6/2023 |
| 6.0.0-rc.2 | 205 | 9/12/2023 |
| 5.5.0 | 3,145 | 8/7/2023 |
| 5.4.0 | 1,417 | 7/17/2023 |
| 5.3.1 | 7,977 | 2/3/2023 |
| 5.3.0 | 449 | 2/3/2023 |
| 5.2.0 | 488 | 1/30/2023 |
| 5.1.0 | 913 | 1/10/2023 |
| 5.0.0 | 493 | 1/4/2023 |