StackExchange.StacksIcons
6.8.0
Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package StackExchange.StacksIcons --version 6.8.0
NuGet\Install-Package StackExchange.StacksIcons -Version 6.8.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="6.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StackExchange.StacksIcons" Version="6.8.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 6.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StackExchange.StacksIcons, 6.8.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@6.8.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=6.8.0
#tool nuget:?package=StackExchange.StacksIcons&version=6.8.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.Accessibility
@Svg.Spot.Wave
// the `With` method can take css classes and title text to add to the svg
@Svg.AlertCircle.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.Accessibility;
HtmlString icon = Svg.Lookup[iconName]; // icon is now set to the value in Svg.Accessibility
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 (>= 8.0.0)
-
net8.0
- System.Collections.Immutable (>= 8.0.0)
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.14 | 212 | 12/18/2025 |
| 7.0.0-beta.13 | 213 | 12/18/2025 |
| 7.0.0-beta.12 | 214 | 12/18/2025 |
| 7.0.0-beta.11 | 212 | 12/17/2025 |
| 7.0.0-beta.10 | 212 | 12/17/2025 |
| 7.0.0-beta.8 | 377 | 12/10/2025 |
| 7.0.0-beta.7 | 742 | 12/3/2025 |
| 7.0.0-beta.4 | 415 | 11/18/2025 |
| 7.0.0-beta.3 | 234 | 11/11/2025 |
| 7.0.0-beta.2 | 142 | 10/28/2025 |
| 7.0.0-beta.1 | 136 | 10/27/2025 |
| 7.0.0-beta.0 | 132 | 10/14/2025 |
| 6.8.0 | 3,377 | 11/17/2025 |
| 6.7.2 | 276 | 10/28/2025 |
| 6.7.1 | 191 | 10/28/2025 |
| 6.7.0 | 2,860 | 10/21/2025 |
| 6.6.2 | 294 | 9/19/2025 |
| 6.6.1 | 2,897 | 7/1/2025 |
| 6.6.0 | 211 | 7/1/2025 |
| 6.5.0 | 208 | 6/26/2025 |
| 6.4.0 | 15,681 | 6/16/2025 |
| 6.3.0 | 349 | 6/11/2025 |
| 6.2.0 | 621 | 3/25/2025 |
| 6.1.0 | 15,287 | 1/27/2025 |
| 6.0.1 | 36,073 | 2/21/2024 |
| 6.0.0 | 27,821 | 10/6/2023 |
| 6.0.0-rc.2 | 192 | 9/12/2023 |
| 5.5.0 | 3,133 | 8/7/2023 |
| 5.4.0 | 1,403 | 7/17/2023 |
| 5.3.1 | 7,965 | 2/3/2023 |
| 5.3.0 | 437 | 2/3/2023 |
| 5.2.0 | 472 | 1/30/2023 |
| 5.1.0 | 902 | 1/10/2023 |
| 5.0.0 | 481 | 1/4/2023 |