Stravaig.Avalonia.Controls.Icons
0.1.0-preview.4
This is a prerelease version of Stravaig.Avalonia.Controls.Icons.
dotnet add package Stravaig.Avalonia.Controls.Icons --version 0.1.0-preview.4
NuGet\Install-Package Stravaig.Avalonia.Controls.Icons -Version 0.1.0-preview.4
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="Stravaig.Avalonia.Controls.Icons" Version="0.1.0-preview.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stravaig.Avalonia.Controls.Icons" Version="0.1.0-preview.4" />
<PackageReference Include="Stravaig.Avalonia.Controls.Icons" />
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 Stravaig.Avalonia.Controls.Icons --version 0.1.0-preview.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Stravaig.Avalonia.Controls.Icons, 0.1.0-preview.4"
#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 Stravaig.Avalonia.Controls.Icons@0.1.0-preview.4
#: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=Stravaig.Avalonia.Controls.Icons&version=0.1.0-preview.4&prerelease
#tool nuget:?package=Stravaig.Avalonia.Controls.Icons&version=0.1.0-preview.4&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Stravaig Icon Controls
This package contains a number of icon controls for use with Avalonia 11.3.x
Phosphor Icons
These icons come from the Phosphor Icons collection.
For an example of how to use this control see the Stravaig.Icons.Example demo project.
Usage
<UserControl
xmlns:icons="clr-namespace:Stravaig.Avalonia.Controls.Icons;assembly=Stravaig.Avalonia.Controls.Icons">
<icons:PhosphorIcon
Foreground="Gray"
IconName="Acorn"
IconType="Duotone"/>
Properties
IconType:enum PhosphorIconTypeThe type of icon to display. One ofThin,Light,Regular,Bold,Fill, orDuotone.IconName:enum PhosphorIconNameThe name of the icon to display. The enum values are based on the pascal cased version of the icon name.Foreground:IBrushThe brush to use to display the icon. Note: Only SolidColorBrush is supported.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Avalonia (>= 11.3.9)
- Svg.Controls.Skia.Avalonia (>= 11.3.6.2)
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 |
|---|---|---|
| 0.1.0-preview.4 | 610 | 12/10/2025 |
| 0.1.0-preview.3 | 431 | 12/8/2025 |
| 0.1.0-preview.2 | 421 | 12/8/2025 |
| 0.1.0-preview.1 | 294 | 12/7/2025 |