Forma documentation

Forma is a retained-mode .NET user-interface toolkit for games built on MonoGame or FNA. The project is currently preparing its first public preview; package commands will become the canonical installation path after the approved packages are published to NuGet.org.

Start here

Choose a runtime

Forma publishes binary-incompatible peer packages for MonoGame and FNA. Keep every Forma package in one application on the same runtime family and version. The public API is intentionally equivalent; use the runtime already selected by the host game.

Host Core package Compiled XAML package
MonoGame Forma.MonoGame Forma.Xaml.Build.MonoGame
FNA Forma.FNA Forma.Xaml.Build.FNA

See runtime support and migration for the validated backend and platform matrix.

Choose C# or XAML

Route Start here Use it when
C# Build your first UI in C# The host creates and wires controls directly
XAML Build your first UI in XAML The project wants compiled declarative views, typed bindings, or Debug hot reload

Both routes use the same controls, layout engine, themes, input, and runtime peer selection. Start with C# when evaluating the minimum host responsibilities; add XAML when its build-time model fits the project.