Avalonia Zafiro UI Layout

•
1
•

Optimizes Avalonia UI development by implementing clean, maintainable layout patterns and semantic containers using Zafiro.

This skill equips Claude with specialized knowledge for architecting modern Avalonia UI applications using the Zafiro.Avalonia library. It focuses on reducing XAML redundancy by prioritizing semantic UI components like EdgePanel and HeaderedContainer over traditional nested Grids. By promoting shared styles, declarative icon management, and behavior-driven interactions, it helps developers build scalable, high-performance cross-platform .NET desktop applications that are easy to maintain and visually consistent.

Key Features

01Streamlined icon management using IconExtension and IconOptions
02Replacement of complex Converters with Interaction Behaviors
03Reduction of XAML redundancy through shared style orchestration
041 GitHub stars
05Layout flattening techniques to eliminate deep nesting of Grids and StackPanels
06Implementation of semantic UI containers like HeaderedContainer and EdgePanel

Use Cases

01Refactoring legacy Avalonia XAML into modern, semantic structures
02Implementing UI logic via Behaviors to keep ViewModels clean and testable
03Standardizing design systems for complex cross-platform .NET desktop apps