Early stage. FUI-CS is under active development and its API will change.
→ Live demo, built from these packages
with dotnet publish (source).
FUI-CS builds EffinDOM applications in C#. An application is a tree of retained
nodes and controls (layout boxes, text, images, buttons, toggles, sliders,
dropdowns, combo boxes, text inputs, dialogs, menus, popups, tooltips, virtual
lists, custom drawing and bitmaps) with C# events, a theme and fluent
builders. It compiles to WebAssembly with NetWasm
as a JsModule and drives the EffinDOM UI runtime in the browser.
using FuiCs;
namespace MyApp;
static class FuiProgram
{
public static IApplication CreateApplication() => Application.Create(BuildPage);
static Node BuildPage()
{
var greeting = new Text("Hello").FontSize(20.0f);
return FlexBox.Column(greeting, new Button("Greet").OnClick(_ => greeting.Text = "Hello, C#"))
.Padding(24.0f);
}
}An application needs only the .NET SDK:
dotnet new install FuiCs.Templates
dotnet new fui-app -o MyApp # or fui-routed-app, a shell with two routes
cd MyApp
dotnet publish -c Release -o sitesite/ is a static site; serve it at the root of any static file server.
Prerequisites: the .NET SDK pinned in global.json, and Node.js 24+ with npm,
which the build uses for its TypeScript side. No .NET workloads are needed:
NetWasm restores its own Node, wasm-ld and wasm-opt through NuGet.
git clone https://github.com/zion-sati/fui-cs.git
cd fui-cs
dotnet build
dotnet test
dotnet publish v2/fui-cs/demo/Home -c Release
npm run serveOpen http://127.0.0.1:8080/v2/fui-cs/demo/ for the demo.
The repository does not contain or build the EffinDOM runtime; it uses the
published @effindomv2/runtime package.
AGPL-3.0-only (or commercial - see COMMERCIAL.md).