RayoUI

Rayo

Rayo is a declarative, retained-mode UI library for .NET 10.

It is designed for building desktop and cross-platform UI with a code-first model, a retained visual tree, a styling system, and multiple rendering backends.

Highlights

Package ecosystem

The repository currently publishes these NuGet packages together:

All packages in the release set are versioned together from the same Git tag.

Quick example

using Rayo.Controls;
using Rayo.Layout;

var page =
    new VStack()
        .Spacing(12)
        .Padding(24)
        .Children(
            new Label()
                .Text("Hello from Rayo")
                .FontSize(24),
            new Button()
                .Text("Click Me")
                .Height(40)
        );

Repository structure

Building locally

Restore and build the main library with the repository NuGet configuration:

dotnet restore Rayo/Rayo.csproj --configfile NuGet.Config
dotnet build Rayo/Rayo.csproj --no-restore

The solution file references missing projects in this environment, so direct project builds are the supported path.

Documentation

Samples

The repository includes sample applications such as:

License

Rayo is distributed under the MIT License.

See LICENSE for the full text.