Avalonia is a cross-platform .NET UI framework that draws its own controls. Use it if you're building a desktop application in C# and want shared views across Windows, macOS and Linux; skip it if your requirement is native operating-system controls throughout. That distinction follows from Avalonia's rendering model. Our November 28 sandbox stopped before execution, so this recommendation rests on documentation and attributed user reports, rather than a successful application test.
What people use Avalonia for
Avalonia lets you write interfaces in C# or F# with XAML and target desktop, mobile and WebAssembly, according to its getting-started guide. XAML is the markup used to describe controls and layouts. If you already use WPF, Microsoft's Windows UI framework, the concepts will be familiar, but you still have a migration to design.
The appeal is control over a shared interface. The Avalonia 12 documentation describes a CSS-inspired styling system with selectors, classes, pseudoclasses and control themes. It also documents compiled data bindings, which connect controls to application data with checks at build time. Those are specific reasons to consider it for a desktop tool whose interface should retain a deliberate design across operating systems.
Keep two routes separate. Writing an Avalonia application means adopting its APIs and styling. Avalonia XPF is a separate route for existing WPF software: the README calls it a commercial product licensed per application and platform. Choosing the open-source framework doesn't settle the cost or compatibility of taking your existing WPF application across platforms.
Users have built desktop and mobile products, a Raspberry Pi application and an always-on Android dashboard, with very different outcomes.
| Who | What they did | What happened |
|---|---|---|
| UXDivers, an Avalonia consultancy | Delivered desktop and mobile projects and WPF-to-XPF migrations | UXDivers reports completed projects and successful migrations, and discloses a professional stake in Avalonia's success. |
| GitHub user elestedt | Published IPOCS.JMRI.CONTROL for a Raspberry Pi after upgrading to 0.10-preview2 | Font initialization failed; adding a font package restored font detection. |
| GitHub user JohnySeven | Kept an Android dashboard on screen, refreshing labels at about 4 Hz | The Nokia 3.5 application crashed after two days and four hours on v12. |
| GitHub user ivanjx | Produced a single executable using NativeAOT and static native libraries | The user reports success after compiling Skia and HarfBuzz. |
| GitHub user mysteryx93 | Ported MvvmDialogs to Avalonia | The port exposed a need for a shared MessageBox API so view models could stay independent of the UI framework. |
The Raspberry Pi report is particularly useful because it follows a deployment beyond compilation. Elestedt published for Linux ARM, tried the application on the Pi, and hit Default font family name can't be null or empty. Changing the theme didn't help. After installing ttf-mscorefonts-installer, the user reported that FontManager detected a font. That's a concrete environment workaround for an old preview, rather than a reason to add that package blindly to every current deployment.
UXDivers' experience answers a different question: a consultancy says it has delivered applications with the framework. Its disclosure belongs beside that claim. Customer delivery, an individual device report and a reproducible independent benchmark are different kinds of evidence.
What happened when we ran it
We did not run Avalonia at commit d9b74ee on November 28, 2026: our sandbox had no supported C# ecosystem, and the checkout had no Dockerfile. Its recorded configuration was 3 CPUs and 8 GB RAM, with the image listed as n/a. These describe the sandbox allocation, not Avalonia's resource requirements.
| Stage | Recorded result | Meaning |
|---|---|---|
| Source checkout | commit d9b74ee | Identifies the code selected for the sandbox attempt. |
| Install, build and tests | Not run: unsupported C# ecosystem; no Dockerfile | No installation duration, build result or test count was produced. |
| Hands-on safety step | FAILED: none of compose.yaml, compose.yml, docker-compose.yaml or docker-compose.yml exists | The deployment harness required a Compose file and stopped. |
| Teardown | Reported ok | Cleanup status, rather than an application result. |
The sequence ended at the safety check. Its message calls the repository “unsafe” because a Compose file is required by that harness. That label describes the harness rule, not a security finding about Avalonia. No application window opened as part of this recorded attempt.
A generic run entry says “deployed with its own docker compose”, but the specific safety result says the required file was absent. The stopped step and the not-run sandbox result govern this review. The generic wording supplies no evidence of a working deployment or ports actually opened.
Where people get stuck: fonts, rendering and shortcuts
Avalonia's troubleshooting docs distinguish an unavailable SDK command from rendering failures, while user threads show that apparent UI problems can originate outside a control's XAML.
| Symptom | What the source says | Action or recorded resolution |
|---|---|---|
dotnet isn't recognized, or templates are unavailable |
The installation guide points to SDK/PATH and NuGet source configuration. | Follow the SDK checks, reopen the terminal and check the public package feed. These are documented steps. |
| Blank or black window on Windows | The Windows guide recommends forcing software rendering to diagnose GPU involvement. | Use that diagnostic path before changing your interface code; the guide also discusses driver updates. |
| Transparent contents on native Windows ARM64 with Avalonia 11 previews | Snickler reports rendering through native Windows OpenGL in issue #10405. | The workaround had Mica composition limitations; the issue is open in the November research snapshot. |
| FontManager cannot find a default font on an older Pi deployment | Elestedt reports restored font detection after adding a font package in #4427. | The issue is closed; the reported outcome is font detection after an environment change. |
| Shortcut text appears, but pressing the keys does nothing | The menu guide says InputGesture only displays the shortcut text. | Register the matching KeyBinding on the window or parent control. |
That last case is easy to miss during a visual review. A menu can look finished while the advertised command doesn't respond. The documented fix is explicit: wire up the key binding as well as the label. For a desktop application, exercise the keyboard path with the menu closed, then check the platform's modifier keys.
The ARM64 thread also shows why hardware context belongs next to a bug report. A maintainer couldn't reproduce the issue in Parallels on an M1, while snickler reproduced it on native Windows ARM devices. Those observations should stay attached to their environments and preview versions.
Android uptime reports disagree even on v12
JohnySeven reports a native crash after two days and four hours on v12, while another participant reports improved stability on v12 in issue #18995.
The original report concerns Avalonia 11.3.0 and a native decStrong() assertion. Later, byte-book reports that master outlasted the release/11.3 branch and calls v12 smoother. Then JohnySeven reports the same class of crash on v12, despite a longer runtime than on v11. The dashboard stayed in front, prevented the display from turning off, and updated labels without rotation or resizing, according to the reporter.
An always-on dashboard has a different acceptance criterion from an application opened for a short task. A successful launch or smoother animation doesn't answer whether it will stay alive for days. The thread is closed in the research snapshot, yet its comments contain both improvement and recurrence. Treat the device, framework version, workload and time until failure as the useful report, rather than turning the closed label into a reliability guarantee.
NativeAOT and one executable are separate deployment questions
Ivanjx reports a single-executable NativeAOT deployment after compiling Skia and HarfBuzz, but issue #9503 also contains linker trouble from another participant.
NativeAOT compiles managed application code ahead of time into native code. That does not by itself answer what happens to native libraries used for rendering and text. The request concerns statically linking those libraries into the main executable, instead of distributing them alongside it. Ivanjx says the approach worked with self-compiled libraries and identifies Windows x64 when sharing the resulting assets.
This is a deployment choice with maintenance work attached. If your distribution contract says one executable, make that the artifact you evaluate, rather than accepting an AOT publish as equivalent. Build the native libraries from a source you control, record their provenance, and examine the actual output on a clean target machine. The integration request is open in the November snapshot; one user's success is a useful lead for engineering work, not a universal command sequence.
Desktop polish still needs platform-specific work
Avalonia's window guide documents different disabled-button behavior, transparency support and macOS Dock-icon handling across operating systems.
| Integration detail | Documented behavior | Consequence for your application |
|---|---|---|
| Minimize and maximize buttons | Windows may hide disabled buttons; macOS may gray them out. | Match acceptance screenshots and behavior to each operating system. |
| Transparency | Available effects vary by platform, and a solid fallback can be configured. | Design the fallback color as part of the interface. |
| Transparent click-through windows | The guide says WPF-like transparent click-through behavior isn't supported. | An overlay requiring it needs native platform integration. |
| macOS Dock icon | The Dock icon comes from the app bundle, rather than Window.Icon. | Inspect the packaged application, not only the development window. |
| Native MessageBox | The common native API request #670 is open. | Participants suggest community dialog libraries or an alert popup. |
A custom title bar adds another interaction to check. The window guide says interactive controls in a title-bar region need the appropriate element role; otherwise clicking can drag the window on some platforms. A shared layout doesn't remove the need to test close, minimize, drag and double-click behavior.
Text entry and repeated builds deserve their own acceptance checks
Historical issue trackers describe text-selection regressions and build sharing violations, which make better evaluation cases than a static screenshot.
Tracker #7502 marks several selection and caret defects completed, including keyboard selection. Its successor, #8070, is closed but retains an unchecked IME scrolling-position item in the captured text. IME means input method editor, the composition interface used to enter languages such as Chinese. A closed umbrella tracker and an individual checklist item answer different questions.
For a worldwide application, put mixed right-to-left and left-to-right text, Chinese wrapping, keyboard selection and composition in scrolled fields into the acceptance plan. Include the fonts and input methods your users actually use. These cases come directly from the kinds of failures the trackers describe.
In #5294, lsoft reports repeated compilation-server failures involving CompileAvaloniaXamlTask. Asvol reports success after disabling parallel builds; other participants describe command-line or ReSharper Build workarounds with mixed results. The thread is closed. Repeated edit-build cycles and the actual CI project graph belong in your evaluation, especially if reducing concurrency would disrupt your workflow. This is an attributed history, not a measured failure rate for the current release.
Avalonia vs MAUI, WPF, Uno and WinUI 3
Avalonia's drawn controls and WPF-like concepts are the clearest starting points for comparison; the alternatives differ in rendering model, API familiarity and platform scope.
| Choice | What the comparison supports | When to put it on your shortlist |
|---|---|---|
| Avalonia vs MAUI | Avalonia's FAQ contrasts its own renderer with MAUI's native controls. UXDivers positions MAUI for mobile-first teams. | Choose by the interface model and target devices before making performance claims. |
| Avalonia vs WPF | WPF is Windows-only; Avalonia targets multiple platforms. Styling, templates and properties differ. | Keep WPF in consideration for an existing Windows application; evaluate Avalonia when shared cross-platform views justify a port. |
| Avalonia vs Uno | UXDivers describes Uno's WinUI/UWP-aligned APIs and both drawn and native rendering options. | Let your team's WPF or WinUI background and actual target platforms shape the comparison. |
| Avalonia vs WinUI 3 | Avalonia's comparison page says WinUI development requires Windows while Avalonia development runs on Windows, macOS and Linux. | Consider the developer workstation constraint alongside the application's target platform. |
UXDivers sells Avalonia services, so its preference deserves that context. Its Uno comparison is a useful account of API choices, rather than an independent benchmark that decides which framework is faster. For an existing WPF estate, also compare a source port to Avalonia against the separate commercial XPF route. Those projects have different budgets and compatibility questions.
What the other reviews get wrong
UXDivers' “Avalonia UI Review: Comprehensive Insights from 2025” discusses mobile progress, but its broad assessment doesn't answer the multi-day dashboard failure reported in #18995.
The UXDivers review discloses completed projects, migrations and its commercial stake. It also cautions that desktop remains the stronger focus. The gap is practical: a mobile assessment needs the workload and duration attached to it. JohnySeven's v12 recurrence makes an always-on dashboard a specific acceptance case, even after another user reports an improvement.
Likewise, successful WPF-to-XPF migrations aren't a measurement of your migration cost. The consultancy says its projects had measurable results, but its review doesn't give the underlying measurements or identify the customers for those migrations. Read it for practitioner perspective and disclosed experience. Don't turn that into an independently reproduced savings figure.
Outdated claims, corrected
The v11 FAQ calls Wayland unreleased, while the Avalonia 12 welcome page lists desktop Linux with X11 and Wayland.
Read the v11 statement with its version attached. The v12 documentation explicitly lists Wayland. The old backend discussion in #1243 explains historical concerns about popups, dialogs and input methods; it isn't the current platform-support list.
Two broader claims need qualification too. The v12 welcome page says there are “no platform-specific quirks,” and the homepage says applications behave the same wherever they run. The project's own window guide documents operating-system differences in buttons and transparency. Consistent control rendering doesn't promise identical window-system behavior.
Questions people ask
Avalonia UI is an open-source .NET UI framework that draws its own controls, with C# and XAML among the documented ways to build interfaces.
What is Avalonia UI, and how does it work with C# and .NET?
Avalonia uses .NET application code and its own rendering engine. You can describe views in XAML and write behavior in C#, or build the interface in code. This review concerns Avalonia UI: the search phrases “avalonia continent” and “avalonian map albion” don't identify the software reviewed here.
How do I install Avalonia and create my first application?
The guide starts with the .NET SDK, an IDE and Avalonia project templates. It shows dotnet new install Avalonia.Templates, followed by dotnet new avalonia.mvvm -o MyApp, changing into the project directory and dotnet run. Those are upstream instructions, not successful steps from our sandbox.
Which Avalonia tutorials and example applications should a beginner follow?
The starter tutorial builds a temperature converter, covering controls, layout, events and conversion. For Avalonia UI examples beyond that, the official catalog includes a ToDo application using MVVM and a Music Store application. MVVM separates interface state and behavior from views. Follow the example closest to the interaction you need to learn.
Should I choose Avalonia or .NET MAUI for my application?
MAUI uses native controls while Avalonia draws its own, according to Avalonia's FAQ. UXDivers recommends considering MAUI for mobile-first work that prefers native controls. Your target-device trial should include the interactions and uptime your product requires, rather than treating this rendering distinction as a speed ranking.
How does Avalonia differ from WPF, especially its styling system?
Avalonia's getting-started guide explicitly warns of differences in styling, templates and properties. Its v12 welcome page describes CSS-inspired selectors and pseudoclasses. WPF experience helps you enter the framework, but existing styles and control assumptions need a deliberate port.
What is Avalonia XPF, and can it run an existing WPF application across platforms?
The getting-started guide describes XPF as binary-compatible WPF support built on Avalonia's renderer. The README identifies XPF as commercial and licensed per app, per platform. Evaluate it separately from rewriting your views for the open-source Avalonia framework.
Should I choose Avalonia or Uno Platform?
UXDivers frames the choice around WPF versus WinUI/UWP familiarity and platform priorities. It also describes Uno's native rendering option alongside its drawn renderer. API familiarity is a useful starting point for your comparison, not evidence that either framework will handle your controls without adaptation.
How does Avalonia compare with Flutter?
The Avalonia 12 documentation establishes .NET, C#/F# and XAML as Avalonia's application model. It mentions collaboration with Google's Flutter team on rendering work. That collaboration isn't a head-to-head application benchmark; the comparison gaps are listed below.
What we have not tested yet
Our sandbox produced no supported-environment installation, build, test suite or running Avalonia application. Actual runtime and operating-system versions require raw toolchain logs; neither an image label nor the hardware allocation supplies them. No latency, memory-use, startup or vulnerability result is available from this attempt.
The next useful test is a packaged application with your hardest controls on each intended target. For desktop, include title-bar actions, transparency fallbacks, file dialogs, keyboard shortcuts, the macOS bundle icon and any click-through overlay. For international text, cover mixed RTL selection, Chinese wrapping and IME placement while scrolling. The historical trackers don't establish which current release resolves every item.
For Android, record the exact version and device, then run the real dashboard or application workload for the required duration. The v12 comments in #18995 disagree, and its closure doesn't establish a universal fix. For distribution, build the intended NativeAOT artifact and inspect native-library handling on a clean machine. Neither the static-linking recipe nor the old ARM64 workaround was reproduced here.
The research offers no independent side-by-side decision evidence for Avalonia vs Flutter, Electron, Qt, Blazor or Tauri. Their names appear in search suggestions, which establish neither demand volume nor comparative quality. The YouTube entries contain no transcripts, and the Bilibili results are listings rather than watched demonstrations, so no creator outcome is claimed. There are no lab screenshots from an application run to show.
The README names corporate users, but we haven't audited those deployments, measured adoption or assessed support response times. Security review, accessibility with assistive technology and XPF compatibility with your actual WPF dependencies also need direct examination. Start with the artifact and interactions you intend to ship, then record what works on each target.

