avalonia

Centralize Avalonia XAML, layout, styling, MVVM, and deployment guidance.

27|2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/linuxdevel/Avalonia-skills --skill avalonia-linuxdevel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: avalonia
Source: https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia
Command: npx skills add https://github.com/linuxdevel/Avalonia-skills --skill avalonia-linuxdevel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Avalonia UI development requires mastery of XAML markup, layout panels, theming, data binding, MVVM patterns, and deployment constraints. This Skill unit consolidates these cross-cutting Avalonia patterns into a single reference to accelerate learning and practical application.

Core Features & Use Cases

  • Centralizes Avalonia XAML, layout, styling, MVVM, and deployment guidance for quick reference.
  • Enables task-focused workflows for designing interfaces, binding data, routing and navigation, and multi-platform packaging.
  • Use cases include building cross-platform Avalonia apps, applying design systems (Fluent/Suki/Material), and validating UI patterns across Windows, macOS, Linux, WASM, and mobile.

Quick Start

Load this skill to access practical Avalonia UI patterns and start building interfaces immediately.

Frequently Asked Questions about avalonia

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build cross-platform desktop apps with Avalonia UI and MVVM?

Avalonia UI uses XAML markup and MVVM data binding to build cross-platform desktop apps. You centralize layout panels, styling, and view routing logic to deploy interfaces across Windows, macOS, and Linux from a single codebase.

What is the best way to apply themes and styling in Avalonia XAML?

Styling in Avalonia XAML involves applying design systems like Fluent, Suki, or Material themes. You define styles and resources centrally to ensure consistent cross-platform UI appearance across desktop and mobile targets.

Does Avalonia support deploying apps to WASM and mobile platforms?

Yes, Avalonia supports deploying cross-platform apps to WASM and mobile platforms. You use the framework's packaging guidance to prepare your XAML-based views and MVVM logic for multiple operating environments.

How do I set up data binding and navigation in an Avalonia MVVM application?

Data binding in an Avalonia MVVM application connects XAML views to viewmodels using binding expressions. You implement routing and navigation patterns to manage view transitions and synchronize UI state across the application.

Can I use Avalonia UI to design interfaces for both Windows and macOS without changing code?

Yes, you can use Avalonia UI to design interfaces for both Windows and macOS without changing code. The framework abstracts platform differences through unified XAML layout panels and styling controls.

Why does my Avalonia XAML layout render differently across desktop and WASM targets?

Avalonia XAML layout rendering differences across desktop and WASM targets occur due to platform-specific rendering engines. You validate UI patterns and adjust layout panels to ensure consistent visual output across environments.