News
Avalonia bindings published for D
A D program can now open an Avalonia desktop window without a C#
Main.
The package is avalonia-d. The repository went public on .
The hello example is a D main.
It calls init, builds a stack, hangs a button on it, and
blocks in run().
The window that appears is ShadUI chrome: themed title bar, dark
ShadTheme, a Primary-class button—not a bare Avalonia
rectangle with system decorations.
Avalonia is a .NET UI toolkit. No D wrapper showed up on GitHub, awesome-d, or the DUB registry before this package. D cannot import a C# assembly, so the host exports a small C ABI through DNNE and D wraps opaque handles.
The high-level look is not a from-scratch shadcn clone.
ShadUI already covers
that kit for Avalonia (MIT, NuGet ShadUI).
The host consumes it.
Read next: