PhosphorIconsAvalonia 1.2.0

dotnet add package PhosphorIconsAvalonia --version 1.2.0
                    
NuGet\Install-Package PhosphorIconsAvalonia -Version 1.2.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="PhosphorIconsAvalonia" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PhosphorIconsAvalonia" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="PhosphorIconsAvalonia" />
                    
Project file
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 PhosphorIconsAvalonia --version 1.2.0
                    
#r "nuget: PhosphorIconsAvalonia, 1.2.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 PhosphorIconsAvalonia@1.2.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=PhosphorIconsAvalonia&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=PhosphorIconsAvalonia&version=1.2.0
                    
Install as a Cake Tool

PhosphorIconsAvalonia

A comprehensive Avalonia UI library providing access to 1,000+ beautiful, open-source icons from Phosphor Icons. Easily integrate scalable vector icons into your Avalonia applications with simple XAML markup extensions.

License: MIT

✨ Features

  • 🎨 1,000+ high-quality icons covering UI, arrows, shapes, brands, technology, and more
  • 🎭 5 visual styles: Bold, Fill, Light, Regular, and Thin
  • 🚀 Easy XAML integration with markup extensions
  • 📦 Embedded SVG resources - no external dependencies
  • 🎯 Full control over size, color, and styling
  • Performance optimized - icons parsed on-demand with FusionCache for fast repeated access

📦 Installation

dotnet add package PhosphorIconsAvalonia

🚀 Quick Start

1. Import the Namespace

Add the namespace to your XAML file:

xmlns:pia="using:PhosphorIconsAvalonia.Markup"

2. Use Icons in Your UI

With Image Control (IconSource)

The IconSource extension creates a complete DrawingImage perfect for Image controls:

<Image Source="{pia:IconSource Icon=airplane_landing, IconType=fill, Brush=AliceBlue}" />
With PathIcon Control (IconGeometry)

The IconGeometry extension provides raw geometry data for maximum flexibility:

<PathIcon Data="{pia:IconGeometry Icon=file, IconType=bold}" Foreground="Red" />

🎨 Icon Styles

Each icon is available in 5 visual styles:

Style Description Use Case
thin Minimal stroke weight Elegant, minimalist designs
light Thin, delicate strokes Subtle UI, large displays
regular Standard stroke width General purpose (default)
bold Thick, prominent strokes Emphasis, primary actions
fill Solid filled shapes Active states, selections

Copyright (c) 2026 Josué Clément

Made with ❤️ for the Avalonia community

Product 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 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PhosphorIconsAvalonia:

Package Downloads
Carbon.Avalonia.Desktop

A comprehensive Avalonia UI control library for .NET desktop applications. Includes navigation, docking, ribbon, editors, calendar/scheduling, and 2D display controls, along with a CollectionView data subsystem and dialog/overlay services. Built on Avalonia 11.3 with Fluent theme (Dark & Light variants), full MVVM support, and dependency injection integration.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 148 4/13/2026
1.1.0 283 12/4/2025
1.0.1 222 12/4/2025
1.0.0 703 12/2/2025