All projects

C# UI composition

NXUI

Avalonia applications expressed as compact, composable C#.

StatusActive
TierExperimental
DomainFrameworks
Repositorywieslawsoltes/NXUI

A fluent, code-first UI layer for Avalonia that composes applications entirely in C# and keeps iteration fast with hot reload.

NXUI maps Avalonia controls, properties, bindings, and application composition into fluent C#. It is especially useful when code generation, functional composition, or one-language workflows matter more than XAML tooling.

01

Code-first Avalonia UI

02

Fluent composition

03

Hot reload host

04

No XAML required

Where it fits.

  • Developers who prefer code-first UI
  • Generated and highly compositional interfaces
  • Teams experimenting with functional Avalonia patterns
Avalonia

Supported

Desktop host

Supported

Hot reload

Included

XAML designer

Not applicable

Real output,
not a mockup.

NXUI desktop application built in C#
NXUI expresses the complete Avalonia visual tree in composable C#.

Clear layers.
Replaceable seams.

01

Application

A familiar public programming model defines the app.

02

Framework

Managed services coordinate layout, input, resources, and lifecycle.

03

Platform

Portable adapters connect rendering and operating-system services.

100% C#UI composition
Hot reloaditeration loop
Fluentcontrol builders
LiveGitHub metadata

From package
to first frame.

Choose the package workflow used by your repository, then start from the smallest working example. Replace VERSION with the current stable or prerelease version shown on NuGet.

01 · Install
Terminal
dotnet add package NXUI
dotnet add package NXUI.Desktop
02 · Use · csharp
QuickStart.cs
object Build() =>
Window()
.Title("NXUI")
.Content(Label().Content("Hello from C#"));
return HotReloadHost.Run(Build, "NXUI", args);

Start focused.
Compose as needed.

The repository is the source of truth.

Use the current documentation and samples, inspect changes, report issues, or support continued open-source maintenance.

ColorPicker

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…