THE C# UI FRAMEWORK

Native apps.
Written in C#.

One framework for desktop, mobile and the web.
Draw, compose and interact. Make every screen your own.

WindowsmacOSiOSAndroidWeb

The interactive gallery

Real C#. Running right here.
Open full size
The Xui desktop gallery with its demo navigation and live examples

Interactive preview · No installation

Explore Canvas, layouts, input, animation and 3D.

Built with Xui · Runs on .NET WebAssembly

A SMALL FOUNDATION. ROOM TO CREATE.

Your interface,
down to the last pixel.

Familiar drawing primitives, flexible layouts and direct platform input. The building blocks stay small, so your ideas can be anything.

A canvas for your ideas

Paths, text, images and gradients through a typed C# API inspired by the web Canvas standard.

Explore Canvas

Compose with clarity

Build with stacks, Grid and Flexbox. Adapt the same application to a phone or a spacious desktop window.

Explore layouts

Feel the interaction

Mouse, keyboard, touch and trackpad input, with animation and gestures built into the view tree.

Explore input

FAMILIAR LANGUAGE. DIRECT EXPRESSION.

A little C#.
A lot of possibility.

Work with the language and tools you already know. Start with a view, draw something, and build from there.

Read the getting started guide
HelloView.csC#
using Xui.Core.Canvas;
using Xui.Core.UI;

public class HelloView : View
{
    protected override void RenderCore(IContext ctx)
    {
        ctx.SetFill(new Color(0x8A05FFFF));
        ctx.BeginPath();
        ctx.RoundRect(Frame, 16);
        ctx.Fill();
    }
}
A custom view. Ready to compose.

BUILT CLOSE TO THE PLATFORM

Shared at the top.
Native underneath.

Your application uses a shared UI and drawing API. Platform runtimes connect it to the window, input and graphics services underneath.

Your applicationC# · .NET
Xui Shared UI & drawing API
ViewsLayoutCanvasInputAnimation
DesktopWindows · macOS
MobileiOS · Android
Browser.NET WebAssembly
Platform runtimes
Understand the architecture

TAKE IT FURTHER

Try it here. Build it anywhere.

The gallery is available in your browser today. Native demo downloads for iOS, Android, Windows and macOS are planned.