Skip to content

FlurinBruehwiler/flamui

Repository files navigation

Flamui

A C# immediate mode desktop GUI framework.

The development of this project is currently paused.

The progress until the first release is tracked here. Prereleases are available on Nuget, see the "Hello World" example below.

Immediate mode means that you don't have to worry about state, the entire UI gets rebuilt every frame.

The framework uses Skia for the rendering and SDL2 to manage Windows, Input, Graphics Context, etc

Sample App Demo

Recording.2023-12-23.215408.mp4

Nuget Packages

Basic Hello World

dotnet new console
dotnet add package Flamui --prerelease

Program.cs

using Flamui;

var builder = FlamuiApp.CreateBuilder();

var app = builder.Build();

app.CreateWindow<RootComponent>("Hello World Window");

app.Run();

public class RootComponent : FlamuiComponent
{
    public override void Build(Ui ui)
    {
        ui.Text("Hello World");
    }   
}

For more examples, look here. For general documentation, look in the /docs folder.

About

A desktop UI framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages