A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Emmanuel Hansen dcb607179b
fix android file props (#21307)
5 days ago
.github Add check for forked PRs in update-api workflow 1 month ago
.ncrunch Add CompiledBinding.Create factory methods from LINQ expressions (#20443) 3 months ago
.nuke Fix dnx random failures (#20284) 5 months ago
build Master now targets 12.1 1 month ago
docs Switch solution to SLNX (#21057) 1 month ago
external Fix/linux atspi backend (#21072) 1 month ago
native/Avalonia.Native Announce changes to live regions on macOS (#21045) 1 month ago
nukebuild Switch solution to SLNX (#21057) 1 month ago
packages/Avalonia Onboard onto Central Package Management (#20704) 3 months ago
samples Changes in CommandBar icon foreground inheritance (#21251) 2 weeks ago
scripts update replace scripts. 6 years ago
src fix android file props (#21307) 5 days ago
tests Avoid exceptions when getting position from a PointerEventArgs (#21301) 6 days ago
.editorconfig Enable warnings as errors (#20504) 4 months ago
.gitattributes Initial commit 13 years ago
.gitignore update gitignore (#21228) 3 weeks ago
.gitmodules Use Numerge package (#20892) 2 months ago
Avalonia.Desktop.slnf Switch solution to SLNX (#21057) 1 month ago
Avalonia.slnx Switch solution to SLNX (#21057) 1 month ago
Avalonia.slnx.DotSettings Switch solution to SLNX (#21057) 1 month ago
Avalonia.v3.ncrunchsolution Add CompiledBinding.Create factory methods from LINQ expressions (#20443) 3 months ago
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md (#20417) 4 months ago
CONTRIBUTING.md Remove Direct2D1 (#20132) 6 months ago
Directory.Build.props Enable warnings as errors (#20504) 4 months ago
Directory.Build.targets Fix NET8 build 3 years ago
Directory.Packages.props Update SkiaSharp package versions to support Bionic and fix LSX error (#21263) 2 weeks ago
NOTICE.md Onboard onto Central Package Management (#20704) 3 months ago
NuGet.Config Onboard onto Central Package Management (#20704) 3 months ago
SECURITY.md Revise security policy and add vulnerability reporting (#21029) 1 month ago
azure-pipelines-integrationtests.yml Update to xunit.v3 (#20331) 4 months ago
azure-pipelines.yml Update to .NET 10 (#19869) 6 months ago
build-native.sh add some key mappings for osx 7 years ago
build.cmd Next try 4 years ago
build.ps1 Next try 4 years ago
build.sh Next try 4 years ago
dirs.proj Onboard onto Central Package Management (#20704) 3 months ago
global.json Update .NET SDK to 10.0.201 (#20912) 2 months ago
licence.md Removing DNF references. (#15500) 2 years ago
readme.md Update readme.md 1 month ago

readme.md

Star_Banner@3x Hero

Build Status License NuGet downloads

📖 About

Avalonia is a cross-platform UI framework for dotnet, providing a flexible styling system and supporting a wide range of platforms such as Windows, macOS, Linux, iOS, Android and WebAssembly. Avalonia is mature and production ready and is used by companies, including Schneider Electric, Unity, JetBrains and GitHub.

Considered by many to be the spiritual successor to WPF, Avalonia UI provides a familiar, modern development experience for XAML developers creating cross-platform applications. While Avalonia UI is similar to WPF, it isn't a 1:1 copy, and you'll find plenty of improvements.

For those seeking a cross-platform WPF, we have created Avalonia XPF, enabling WPF applications to run on macOS and Linux with little to no code changes. Avalonia XPF is a commercial product and is licensed per-app, per-platform.

Blog

To see the latest announcements and read about the state of Avalonia, check out the Avalonia UI Blog.

Sponsorship

Avalonia development is supported by the generous sponsorship of Devolutions.

Devolutions Logo

🚀 Getting Started

See our Get Started guide to begin developing apps with Avalonia UI.

Visual Studio Code

The Avalonia for Code extension gives you everything you need to build cross-platform .NET apps. XAML previewing, code completion, diagnostics, and code navigation, all inside the world's most popular editor. It's the fastest way to get started with Avalonia.

Visual Studio 2022 & 2026

The Avalonia Visual Studio Extension contains project and control templates, a live XAML previewer, code completion, and full diagnostics directly into Visual Studio.

JetBrains Rider

JetBrains Rider supports for Avalonia.

Code completion, inspections and refactorings are supported out of the box. To enable previewing XAML, you will require a 3rd party, community-maintained extension: https://plugins.jetbrains.com/plugins/dev/14839 to plugin repositories and install AvaloniaRider plugin.

Avalonia Packages

Avalonia is delivered via NuGet package manager. You can find the packages here: https://www.nuget.org/packages/Avalonia/

Use these commands in the Package Manager console to install Avalonia manually:

Install-Package Avalonia
Install-Package Avalonia.Desktop

Bleeding Edge Builds

We also have a nightly build which tracks the current state of master. Although these packages are less stable than the release on NuGet.org, you'll get all the latest features and bugfixes right away and many of our users actually prefer this feed!


Learning

Documentation

Documentation can be found at https://docs.avaloniaui.net.

Tutorials

We also have a tutorial over there for newcomers.

Samples

We have a range of samples to help you get started.

Breaking Changes

You can also see what breaking changes between Avalonia 11 and Avalonia 12.


Building and Using

See the build instructions here.


Contributing

This project exists thanks to all the people who contribute. Please read the contribution guidelines before submitting a pull request.

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the Code of Conduct.


Security

If you discover a security vulnerability in any of our SDKs, tools, services, or repositories, please help us keep the community safe by reporting it responsibly.

You can report security vulnerabilities by emailing security@avaloniaui.net.

Please avoid disclosing the issue publicly until we have had a reasonable amount of time to investigate and release a patch or mitigation. We review all legitimate reports and will work with you to quickly resolve the issue.

Please note that Avalonia does not operate a bug bounty programme.


Licence

Avalonia is licenced under the MIT licence.

XPF - cross-platform WPF

Unleash the full potential of your existing WPF apps with our cross-platform UI framework, enabling WPF apps to run on macOS and Linux without requiring expensive and risky rewrites. GH_Banner