Build desktop apps that feel native.
Manta is a UI toolkit and MVVM framework for Avalonia. Themeable controls, an explicit MVVM runtime and compile-time code generation — fully Native AOT compatible, without the ceremony.
Everything you need, nothing you don't
Manta layers a focused control set, a predictable MVVM runtime and source generators on top of Avalonia.
Native AOT, first-class
Manta is built for trimming and Native AOT. Publish a self-contained native binary with no JIT and no reflection surprises.
- Reflection-free deploymentSource generators wire views and language keys at compile time, so no reflection-based discovery runs at startup.
- Trim-safe by constructionThe library builds with IsAotCompatible, so the trimmer and the AOT analyzer stay clean.
- Proven by the reference appMantaDemo publishes with PublishAot, exercising the whole toolkit in a native binary.
<PropertyGroup>
<PublishAot>true</PublishAot>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>Use only what you need
Manta is not all-or-nothing. Every layer ships independently, so you can adopt localization, theming, MVVM or the control set on its own.
Less ceremony, more product
Register the theme, pair a view model with its view and let the generator wire the rest.
using Avalonia;
using Manta;
static class Program
{
[STAThread]
public static void Main(string[] args)
=> MApp.Build<App>()
.StartWithClassicDesktopLifetime(args);
}Theming that stays consistent
Every color, size and radius flows through theme variables. Swap a resource dictionary and the whole application follows.
- OKLch color spaceLight and dark palettes share the same perceived lightness steps.
- Theme variablesResolve colors and spacing through MBrush, MSize, MRadius and friends — never hardcode values.
- One switch, two moodsMove between light and dark without touching a single control style.
Up and running in a minute
Manta targets .NET 10 and Avalonia 12. Add the packages, then build and run the demo.
Frequently asked questions
Short answers before you open the docs.
Ready to build with Manta?
Add the package, explore the demo, and shape the toolkit with us.