- Updated: March 22, 2026
- 6 min read
Avalonia UI Announces MAUI Preview – New Cross‑Platform Capabilities
Avalonia UI’s MAUI preview enables .NET developers to build truly cross‑platform user interfaces that run on Linux, WebAssembly, and all traditional MAUI targets using a single, drawn UI layer.
Avalonia UI MAUI Preview 1: Expanding .NET UI Horizons

On March 16, 2026, the Avalonia team announced the first MAUI preview that brings the power of Avalonia’s drawn UI engine to the .NET MAUI ecosystem. The announcement, detailed on the official Avalonia blog, highlights new platform support for Linux and WebAssembly, marking a pivotal step toward true cross‑platform consistency for .NET developers.
For engineers who have wrestled with platform‑specific quirks, this preview promises a unified look and feel without sacrificing the native performance of MAUI. Below we break down the preview’s core features, supported platforms, integration pathways, and what it means for the broader .NET UI landscape.
Key Features of the Avalonia MAUI Preview
- Unified Rendering Engine: Avalonia draws UI elements on a Skia‑backed canvas, ensuring pixel‑perfect consistency across Windows, macOS, Linux, Android, iOS, and WebAssembly.
- Native MAUI Control Parity: The preview ships with handlers that map MAUI controls to Avalonia primitives, reducing the need for duplicate implementations.
- Navigation API Enhancements: New navigation APIs introduced in Avalonia 12 are fully exposed through the MAUI backend, simplifying page routing and deep linking.
- Source‑Generator Integration: A lightweight source generator auto‑configures the Avalonia bootstrapper, letting developers add
UseAvaloniaApp()to theirMauiBuilderwith a single line of code. - Graphics Interoperability: Existing MAUI
GraphicsViewandSkiaSharp.Views.Mauicomponents work out‑of‑the‑box, thanks to thin wrapper handlers.
Supported Platforms and Technical Improvements
The preview expands the traditional MAUI target matrix to include:
| Platform | Status | Key Considerations |
|---|---|---|
| Windows (WinUI 3) | Full | Leverages native WinUI controls for hybrid scenarios. |
| macOS | Full | Uses Avalonia’s drawing pipeline for consistent UI. |
| Linux (GTK 3/4) | Preview | First MAUI‑compatible UI on Linux, powered by Avalonia. |
| WebAssembly (WASM) | Preview | Runs entirely in the browser without WebGL dependencies. |
| Android / iOS | Full | Native touch handling combined with Avalonia’s rendering. |
Technical improvements that made these platforms possible include:
- Refactored control set to align with MAUI’s
IBorderandIButtoncontracts. - Enhanced DPI awareness across desktop environments, ensuring crisp visuals on high‑resolution displays.
- Optimized SkiaSharp integration for low‑memory WASM builds, reducing bundle size by ~30%.
Getting Started in Four Simple Steps
Developers can spin up a MAUI‑Avalonia project in minutes. Follow the workflow below:
- Create a new MAUI app:
dotnet new maui -n MyAvaloniaApp - Add the Avalonia MAUI package:
dotnet add package Avalonia.Controls.Maui.Desktop - Target .NET 11 preview: Edit
<TargetFramework>net11.0</TargetFramework>in the project file. - Enable Avalonia: In
MauiProgram.csaddbuilder.UseAvaloniaApp();beforebuilder.Build();
After building, the app launches with Avalonia’s default theme. No manual bootstrapper is required, but you can disable the source generator if you need full control.
Sample Applications
The official GitHub repository ships with several reference apps that illustrate real‑world scenarios:
- MauiPlanets: A planetary‑system demo that stresses layout performance on WASM.
- 2048 Clone: Shows how game loops and touch input translate across platforms.
- WebView Weather: Demonstrates the new open‑source WebView component on Linux and WASM.
- MapApp: Integrates
SkiaSharp.Views.Mauifor vector maps, proving graphics interoperability.
Deep Integration with SkiaSharp and Other Graphics Libraries
Because Avalonia’s rendering pipeline is built on SkiaSharp, developers can reuse existing SkiaSharp drawing code without modification. The preview includes a thin wrapper around SkiaSharp.Views.Maui, allowing you to embed high‑performance canvases directly into MAUI pages.
Key benefits include:
- Hardware‑accelerated rasterization on desktop and mobile.
- Consistent anti‑aliasing across all targets, including WebAssembly.
- Support for custom shaders via Skia’s
RuntimeEffectAPI.
For developers who rely on GraphicsView for low‑level drawing, the preview’s handler automatically forwards draw calls to Avalonia’s canvas, preserving pixel fidelity while simplifying code paths.
Roadmap: What’s Next for Avalonia MAUI?
The preview is only the first milestone. The Avalonia team has outlined a roadmap that focuses on expanding platform parity and deepening community involvement:
- Full MAUI.Essentials Integration: A bespoke implementation that brings essential APIs (geolocation, secure storage, etc.) to Avalonia‑backed MAUI apps.
- WinUI Interop Layer: Enable hosting Avalonia controls inside native WinUI windows, completing the “drawn‑or‑native” story for Windows developers.
- Template Marketplace Expansion: New starter templates (e.g., AI SEO Analyzer and AI Article Copywriter) will be ported to MAUI, giving developers instant, production‑ready codebases.
- Community‑Driven Controls: A curated set of open‑source controls (charts, maps, rich text) that target the MAUI‑Avalonia backend.
- Performance Benchmarks: Ongoing profiling to ensure that WASM bundles stay under 5 MB and that desktop launch times remain sub‑second.
These initiatives are expected to accelerate adoption among enterprises that need a single UI stack for desktop, mobile, and web.
Why This Matters for .NET Developers and How UBOS Can Help
Whether you are a solo developer, a startup, or an enterprise, the ability to ship a consistent UI across Linux, Windows, macOS, Android, iOS, and the browser unlocks new market opportunities. UBOS, a leading low‑code AI platform, offers tools that complement Avalonia MAUI:
- Explore the UBOS platform overview to see how you can generate backend services that pair with your Avalonia front‑end.
- Kick‑start projects with UBOS templates for quick start, including the AI YouTube Comment Analysis tool that can be wrapped in a MAUI‑Avalonia shell.
- Leverage AI marketing agents to automate content creation for your new cross‑platform app.
- Check out the UBOS pricing plans that scale from hobbyist to enterprise workloads.
- For startups, the UBOS for startups program provides credits and mentorship.
- SMBs can benefit from UBOS solutions for SMBs, which include pre‑built connectors for popular SaaS tools.
- Enterprises looking for a robust AI stack can evaluate the Enterprise AI platform by UBOS.
- Design UI quickly with the Web app editor on UBOS and then export the XAML for Avalonia.
- Automate repetitive tasks using the Workflow automation studio, perfect for CI/CD pipelines of MAUI‑Avalonia apps.
- Learn more about the company behind these tools on the About UBOS page.
- Join the UBOS partner program to co‑market your Avalonia extensions.
- Browse real‑world implementations in the UBOS portfolio examples for inspiration.
By combining Avalonia’s cross‑platform UI engine with UBOS’s AI‑driven development suite, you can dramatically reduce time‑to‑market while maintaining a high‑quality user experience.
Conclusion
The Avalonia UI MAUI preview is a game‑changing release that finally gives .NET developers a truly universal UI layer. With support for Linux and WebAssembly, seamless graphics integration, and a clear roadmap, the preview positions Avalonia as the go‑to solution for anyone who wants a single codebase that looks identical everywhere.
Start experimenting today, contribute to the open‑source repository, and consider augmenting your workflow with UBOS’s AI‑powered platform to accelerate development even further. The future of cross‑platform .NET UI is here—grab it now.