A WPF UI toolkit that restyles standard controls and adds modern window chrome, theming, non-blocking dialogs and navigation controls.
AvaloniaUI/Avalonia
A cross-platform .NET UI framework for building desktop, mobile, embedded and WebAssembly apps with C# and XAML.
Open-source alternative to:WPF
- Stars
- 31,693
- Forks
- 2,863
- Open issues
- 1,940
- Last commit
- 11 hours ago
What is it?
Avalonia is a cross-platform UI framework for .NET that uses a flexible styling system. It runs on Windows, macOS, Linux, iOS, Android and WebAssembly, so developers can write one XAML-based application and deploy it across these targets.
Avalonia is designed as a spiritual successor to WPF and offers a familiar development experience for XAML developers, though it is not a one-to-one copy of WPF. The project lists companies such as Schneider Electric, Unity, JetBrains and GitHub among its users. Commercial product Avalonia XPF is also offered separately to run WPF apps on macOS and Linux.
The project provides IDE support through a VS Code extension, a Visual Studio extension and community-maintained JetBrains Rider plugins. Packages are distributed via NuGet, and nightly builds are available for those who want the latest changes.
Key features
- 01Targets Windows, macOS, Linux, iOS, Android and WebAssembly from one XAML codebase.
- 02Includes a flexible styling system for customizing control appearance.
- 03Follows an MVVM-friendly, WPF-like development model for XAML developers.
- 04Offers IDE tooling with XAML previewing and code completion in VS Code and Visual Studio.
Use cases
- Building a desktop business application that must run on Windows, macOS and Linux.
- Porting a WPF-style XAML application toward other operating systems.
- Creating a mobile or browser-based UI with C# and XAML.
Quick start
- 1
Read the Get Started guide and set up a .NET project
- 2
Install the core Avalonia package via NuGet
Install-Package Avalonia - 3
Install the desktop package
Install-Package Avalonia.Desktop
Things to know
- Nightly builds are less stable than the NuGet.org releases.
- Moving from Avalonia 11 to 12 involves breaking changes.
- Avalonia XPF, the cross-platform WPF product, is commercial and licensed per app and platform.
Topics
FAQ
- What is Avalonia?
- A cross-platform .NET UI framework for building desktop, mobile, embedded and WebAssembly apps with C# and XAML. Avalonia is a cross-platform UI framework for .NET that uses a flexible styling system. It runs on Windows, macOS, Linux, iOS, Android and WebAssembly, so developers can write one XAML-based application and deploy it across these targets.
- Is Avalonia free to use? What license does it have?
- Avalonia is open source under the MIT license. Check the license terms before using it in commercial products.
- Is Avalonia still maintained?
- Actively maintained. The last commit to Avalonia was on Oct 21, 2026.
- What can I use Avalonia for?
- Building a desktop business application that must run on Windows, macOS and Linux. Porting a WPF-style XAML application toward other operating systems. Creating a mobile or browser-based UI with C# and XAML.
- How do I install Avalonia?
- Read the Get Started guide and set up a .NET project Install the core Avalonia package via NuGet: Install-Package Avalonia Install the desktop package: Install-Package Avalonia.Desktop
- Where can I get Avalonia?
- The source code and installation instructions are on GitHub: https://github.com/AvaloniaUI/Avalonia
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Google's open-source SDK for building natively compiled mobile, web, and desktop apps from a single Dart codebase.
Python framework for building web, desktop and mobile apps with a Flutter-based UI, no frontend experience needed.
A fast, open-source image viewer for Windows, macOS and Linux that opens 90+ formats including WEBP, JXL, SVG, HEIC and AVIF.
WinUI is Microsoft's UI layer of modern controls and styles for building Windows desktop apps, with WinUI 3 shipping in the Windows App SDK.
A framework for building native Android and iOS apps using React, with JavaScript UI rendered by native platform components.