Avalonia Layout with Zafiro
Streamlines Avalonia UI development by implementing semantic containers, shared styles, and clean XAML patterns using the Zafiro library.
The Avalonia Layout with Zafiro skill provides specialized guidance for building high-quality, maintainable cross-platform desktop interfaces. It focuses on modern UI architecture by emphasizing the use of semantic containers like EdgePanel and HeaderedContainer, minimizing XAML redundancy through shared styles, and replacing complex converters with behavior-driven interactions. This skill is ideal for developers looking to reduce layout nesting, implement consistent design systems, and follow expert-level best practices for the Avalonia UI framework.
主要功能
01Standardized icon management using IconExtension and IconOptions
02Implementation of semantic containers like HeaderedContainer and EdgePanel
031 GitHub stars
04Behavior-driven UI logic using Xaml.Interaction.Behaviors
05XAML optimization through shared styles and DynamicResource usage
06Anti-pattern detection for hardcoded literals and deep grid nesting
使用场景
01Implementing complex UI interactions without relying on code-behind or converters
02Refactoring legacy XAML code into a modern, maintainable Avalonia architecture
03Building modular desktop application dashboards with consistent design patterns