ReactiveUI is an advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. Avalonia ships its own fork of ReactiveUI in the Avalonia.ReactiveUI NuGet package. To use ReactiveUI and the the MVVM Pattern in your Avalonia solutions, add the package to your project via NuGet package manager GUI or execute the following command:
public static void Main(string args) => BuildAvaloniaApp().Start<MainWindow>();
public static AppBuilder BuildAvaloniaApp()
// Add the line below to enable
// ReactiveUI support in your app.
To get started with ReactiveUI, see the Getting Started guide and the tutorial. See also the ReactiveUI Handbook which describes advanced ReactiveUI features allowing you to build complex and scalable applications with ReactiveUI. See the pages below to learn how to handle view activation and how to use routing in your Avalonia applications.