TheSingularityWorkshop.GUI.Blazor 0.1.0-alpha.5

This is a prerelease version of TheSingularityWorkshop.GUI.Blazor.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package TheSingularityWorkshop.GUI.Blazor --version 0.1.0-alpha.5
                    
NuGet\Install-Package TheSingularityWorkshop.GUI.Blazor -Version 0.1.0-alpha.5
                    
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="TheSingularityWorkshop.GUI.Blazor" Version="0.1.0-alpha.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TheSingularityWorkshop.GUI.Blazor" Version="0.1.0-alpha.5" />
                    
Directory.Packages.props
<PackageReference Include="TheSingularityWorkshop.GUI.Blazor" />
                    
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 TheSingularityWorkshop.GUI.Blazor --version 0.1.0-alpha.5
                    
#r "nuget: TheSingularityWorkshop.GUI.Blazor, 0.1.0-alpha.5"
                    
#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 TheSingularityWorkshop.GUI.Blazor@0.1.0-alpha.5
                    
#: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=TheSingularityWorkshop.GUI.Blazor&version=0.1.0-alpha.5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TheSingularityWorkshop.GUI.Blazor&version=0.1.0-alpha.5&prerelease
                    
Install as a Cake Tool

The Singularity Workshop GUI

License: MIT

Build Status Last commit Code Coverage Known Vulnerabilities

GitHub stars GitHub contributors Open Issues

CoderLegion Join the CoderLegion Community

💖 Support Us

<a href="https://www.patreon.com/TheSingularityWorkshop" target="_blank"> <img src="https://raw.githubusercontent.com/TrentBest/FSM_API/master/FSM_API/Branding/TheSingularityWorkshop.png" alt="Support The Singularity Workshop on Patreon" height="200" style="display: block;"> </a>

A platform-neutral GUI engineering layer for C# applications.

The Singularity Workshop GUI separates semantic interface intent from platform-specific manifestation.

application / experience
        ↓
semantic GUI model
        ↓
platform adapter
        ↓
native GUI

The same semantic GUI can therefore be represented through Blazor, WPF, Unity UI Toolkit, or future adapters without making any one presentation technology intrinsic to the application's domain.

The Land of Idealism

Packages

TheSingularityWorkshop.GUI.Core

The platform-neutral recursive GUI model and builder primitives.

For the current prerelease:

dotnet add package TheSingularityWorkshop.GUI.Core --version 0.1.0-alpha

TheSingularityWorkshop.GUI.Blazor

Blazor builders and the Blazor manifestation layer built on GUI Core.

For the current prerelease:

dotnet add package TheSingularityWorkshop.GUI.Blazor --version 0.1.0-alpha.4

The Blazor package depends on GUI Core.

Quick start

Build a semantic GUI tree without introducing HTML, DOM, CSS, or Blazor types into Core:

using TheSingularityWorkshop.Workshop.Gui;

var gui = GuiBuilder
    .Create("Panel", "workshop")
    .Text("The Singularity Workshop")
    .Child("Panel", "content", child =>
    {
        child
            .Child("Text", "title", text => text.Text("Welcome"))
            .Child("Button", "enter", button => button.Text("Enter Workshop"));
    })
    .Build();

The resulting object is a recursive semantic model. Platform adapters decide how that model is manifested.

Why this exists

GUI code tends to become coupled to the technology used to render it.

This project deliberately puts a boundary between:

  • experience semantics — what the application wants to communicate or allow;
  • GUI semantics — the representation and interaction model;
  • platform manifestation — how that representation becomes HTML, WPF controls, Unity UI, or another native surface.

Core therefore does not depend on HTML, DOM, CSS, JavaScript, Blazor RenderFragment, WPF DependencyObject, XAML, or Unity UI Toolkit types.

Recursive composition

The model is intentionally recursive:

Experience
  └── Panel
      ├── Panel
      │   ├── Text
      │   └── Image
      └── Button
          └── Text

Small builders can therefore compose larger interfaces while retaining semantic identity and structure.

Relationship with FSM_API

The GUI layer and the state layer have different responsibilities:

  • FSM_API provides state-transition and runtime behavior.
  • GUI provides visualization and interaction representation.
  • Platform adapters turn semantic GUI intent into platform-native manifestation.

This separation allows an experience to change state without making the state machine itself responsible for rendering technology.

Current status

This package is under active development.

The first production proving ground is the WebPage repository, where the semantic GUI model is being integrated into a live Blazor experience.

The architecture is intentionally being developed in the open while the contracts stabilize.

The current Blazor prerelease is 0.1.0-alpha.4; prerelease packages are versioned as the semantic GUI contract evolves. The repository's CI validates tests, uploads code coverage, and produces versioned NuGet package artifacts. NuGet.org publication is currently disabled behind an explicit release switch.

Documentation

The full engineering and theory documentation lives in the repository:

Feedback and contributions

Issues, experiments, architectural criticism, and pull requests are welcome.

Open an issue or explore the repository on GitHub.

License

MIT License.

Copyright © 2026 The Singularity Workshop.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha.8 307 9/29/2026
0.1.0-alpha.5 114 9/25/2026
0.1.0-alpha.4 81 9/25/2026
0.1.0-alpha.1 76 9/24/2026
0.1.0-alpha 72 9/24/2026