Rayo 0.1.10

dotnet add package Rayo --version 0.1.10
                    
NuGet\Install-Package Rayo -Version 0.1.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rayo" Version="0.1.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rayo" Version="0.1.10" />
                    
Directory.Packages.props
<PackageReference Include="Rayo" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Rayo --version 0.1.10
                    
#r "nuget: Rayo, 0.1.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Rayo@0.1.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rayo&version=0.1.10
                    
Install as a Cake Addin
#tool nuget:?package=Rayo&version=0.1.10
                    
Install as a Cake Tool

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

  • Declarative UI composition in C#
  • Retained-mode rendering pipeline
  • Signal-first reactive model
  • Fluent API generated from VisualElement properties
  • Styling system with selectors, triggers, and transitions
  • Multiple rendering backends:
    • Rayo.Rendering.OpenGL
    • Rayo.Rendering.SkiaSharp
    • Rayo.Rendering.Vulkan
  • Hosting packages for desktop and Android

Package ecosystem

The repository currently publishes these NuGet packages together:

  • Rayo
  • Rayo.FluentApiGenerator
  • Rayo.Hosting.Abstractions
  • Rayo.Hosting.Android
  • Rayo.Hosting.Desktop
  • Rayo.Rendering
  • Rayo.Rendering.OpenGL
  • Rayo.Rendering.SkiaSharp
  • Rayo.Rendering.Vulkan

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:

  • Gallery
  • FluentExamples
  • StyleDemo
  • OpenGLView
  • VulkanView
  • CrossPlatformApp

License

Rayo is distributed under the MIT License.

See LICENSE for the full text.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Rayo:

Package Downloads
Rayo.Hosting.Android

Android hosting integration for Rayo using the SkiaSharp renderer.

Rayo.Hosting.Desktop

Desktop hosting integration for Rayo using GPU-first rendering backends.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.10 98 7/13/2026
0.1.8 146 5/8/2026
0.1.7 107 5/6/2026
0.1.6 108 5/6/2026