GPUI.NET
0.2.0-preview.1
dotnet add package GPUI.NET --version 0.2.0-preview.1
NuGet\Install-Package GPUI.NET -Version 0.2.0-preview.1
<PackageReference Include="GPUI.NET" Version="0.2.0-preview.1" />
<PackageVersion Include="GPUI.NET" Version="0.2.0-preview.1" />
<PackageReference Include="GPUI.NET" />
paket add GPUI.NET --version 0.2.0-preview.1
#r "nuget: GPUI.NET, 0.2.0-preview.1"
#:package GPUI.NET@0.2.0-preview.1
#addin nuget:?package=GPUI.NET&version=0.2.0-preview.1&prerelease
#tool nuget:?package=GPUI.NET&version=0.2.0-preview.1&prerelease
GPUI.NET
GPUI.NET is a semantic C# frontend for GPUI, built for .NET 10 desktop applications. Your application owns state and view logic in C# while the native Rust host handles windows, layout, retained controls, and platform integration.
Install
dotnet add package GPUI.NET
The GPUI.NET package brings the managed API and the native runtime package family. Native assets
are supplied for win-x64, linux-x64, osx-x64, and osx-arm64.
Minimal application
using Gpui;
using static Gpui.Units;
var application = new GpuiApplication();
application.OpenWindow(
new MainView(),
new GpuiWindowOptions { Title = "Hello GPUI.NET", Width = 900, Height = 600 }
);
application.Run();
[GpuiView]
internal sealed partial class MainView : View
{
protected override Element Render(ref RenderContext ui) =>
ui.VStack(
ui.Text("Hello from GPUI.NET"),
ui.Button("increment", "Increment")
)
.Gap(Px(12))
.Padding(Px(20));
}
Runtime requirements
- .NET SDK/runtime 10.
- A desktop environment supported by the selected runtime identifier.
- On Windows,
GPUI.NETsupplies a default Windows application manifest for executable projects.
The default manifest enables Common Controls v6 and Per-Monitor V2 DPI awareness. An explicitly
configured consumer ApplicationManifest is preserved, and NoWin32Manifest=true disables the
package-provided manifest. A custom manifest must include Microsoft.Windows.Common-Controls
version 6.0.0.0; without it, Windows may fail to load the native host because the
common-control API set is not activated for the process.
Links
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- GPUI.NET.Core (>= 0.2.0-preview.1)
- GPUI.NET.Native (>= 0.2.0-preview.1)
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.2.0-preview.1 | 0 | 9/4/2026 |
| 0.1.0-preview.1 | 38 | 9/1/2026 |