Avalonia & Zafiro ViewModel Patterns
Standardizes Avalonia application architecture using Zafiro and ReactiveUI for robust ViewModel and multi-step Wizard implementation.
This skill provides an opinionated framework for architecting Avalonia applications by integrating the Zafiro toolkit with ReactiveUI. It simplifies complex state management through a functional-reactive approach, offers a declarative Wizard pattern for multi-step workflows, and streamlines navigation with automatic section discovery. It is particularly useful for developers building sophisticated cross-platform UIs in C# who need maintainable patterns for command handling, dependency injection mapping, and clean View-to-ViewModel composition.
Key Features
01Declarative multi-step flow creation via SlimWizard and WizardBuilder
02Enhanced command handling with progress reporting and metadata
031 GitHub stars
04Functional-reactive state management using ReactiveUI patterns
05Automated UI section registration using the [Section] attribute
06Clean View-ViewModel mapping and dependency injection best practices
Use Cases
01Refactoring legacy Avalonia codebases to follow scalable and testable MVVM patterns
02Implementing reactive navigation and dynamic section-based user interfaces
03Building complex, multi-step configuration wizards in Avalonia applications