Avalonia UI Zafiro Layout Expert
Optimizes Avalonia UI development using Zafiro conventions to create clean, maintainable, and semantic layouts.
This skill provides specialized guidance for building modern cross-platform desktop applications using Avalonia UI and the Zafiro.Avalonia library. It streamlines the creation of user interfaces by emphasizing semantic containers like EdgePanel and HeaderedContainer, promoting the use of shared styles, and enforcing best practices that minimize XAML nesting. Developers can leverage this skill to implement icon extensions, interaction behaviors, and theme-safe designs, ensuring that complex UI projects remain scalable and free from redundant code-behind or excessive converters.
Key Features
01Simplifies icon management via IconExtension and centralized IconOptions
02Reduces XAML complexity by flattening layouts and eliminating deep nesting
03Standardizes theme organization through shared styles and DynamicResource usage
04Implements semantic containers like HeaderedContainer and EdgePanel for cleaner layouts
05Promotes Xaml.Interaction.Behaviors to replace complex converters and code-behind logic
0646 GitHub stars
Use Cases
01Building high-performance, cross-platform desktop UIs with a clean architectural foundation
02Establishing a consistent design system using Zafiro's layout and styling patterns
03Refactoring legacy Avalonia XAML files into reusable, modular components