The HuxerUI DSL
Learn component functions, braced children, .With(...), typed events, scopes, state, keys, and controlled values.
Start with DSL fundamentals
HuxerUI interfaces are ordinary C++ functions that return View values.
Braced containers describe children, typed modifiers configure reusable presentation, and typed events connect behavior without stringly typed property bags.
[[huxerui::composable]]View Counter() { auto count = UseState(0);
return Column { Text::Format("Count: {}", count), Button("Increment").OnClick([count] { count += 1; }), }.With( Padding(24.0F), Spacing(12.0F) );}The HuxerUI DSL
Learn component functions, braced children, .With(...), typed events, scopes, state, keys, and controlled values.
Start with DSL fundamentals
Components
Use focused pages for every built-in control, layout, navigation surface, and platform-facing component. Browse components
Build applications
Add navigation, presentation, resources, asynchronous work, files, HTTP, lifecycle, and window behavior. Create your first application
API reference
Find every public type, function, enum, field, and overload, grouped by the module that owns it. Open the API reference
Extend HuxerUI
Choose among component functions, custom layouts, virtual layouts, retained node behavior, application/window services, and platform integration. Choose an extension point
Tooling and delivery
Use the CLI, CMake package, SDK artifacts, diagnostics, testing, packaging, and release workflows as one coherent toolchain. Open the CLI reference
Browse the official libraries for editors, document rendering, data, media, and device integration.
The application owns shared services, State models and ordinary asynchronous work. Each window owns its composition, layout, focus, navigation and presentation while observing the same application model. Platform hosts connect these shared contracts to Windows, macOS, Linux, Web, Android and iOS. Start with application and window ownership when building beyond one window.
Use the guides for application-facing contracts. The framework repository’s architecture notes describe implementation decisions and are intentionally not duplicated here.