avalonia-d

D bindings for Avalonia via a C ABI host, with ShadUI (shadcn-inspired) controls.

No prior D wrapper existed (as of 2026-08). Avalonia is a .NET UI toolkit, so the D process loads a DNNE native shim that hosts CoreCLR, Avalonia, and ShadUI, then wraps opaque handles.

Requirements

  • D compiler (ldc2 or dmd) and dub

  • .NET 9 SDK

  • C compiler for DNNE (MSVC Build Tools on Windows)

Status

  • Dynamic loader for the DNNE shim

  • Idiomatic wrappers for window, stack, scroll, card, button, text, text box, checkbox

  • ShadUI ShadTheme (light / dark / system)