Modern C++ · One shared runtime

Cross-platform UI.Rebuilt for C++.

HuxerUI unifies desktop, mobile, and Web behind one declarative runtime—with shared composition, state, layout, rendering, and animation, plus deep platform integration.

C++20Six platform backendsMIT licensed
counter.cpp
// Ordinary C++ becomes a retained interface.
[[huxerui::scope]]
View Counter() {
  auto count = UseState(0);

  return Column {
    Text::Format("Count: {}", count),
    Button("+1").OnClick([count] {
      count += 1;
    }),
  }.With(
      Padding(24.0F),
      Spacing(12.0F)
  );
}

View App() {
  return Counter();
}
WindowsmacOSLinuxWebAndroidiOS
Shared where it matters

One model from declaration to pixels.

Application code stays platform-neutral. Each backend owns the native lifecycle, input services, text system, and renderer.

01

Declarative C++

Compose transient Views with ordinary functions, typed state, events, themes, and modifiers.

02

Retained runtime

Reconciliation, incremental layout, animation, input, and scene retention remain shared and testable.

03

Platform-native integration

Connect windows, IME, accessibility, files, HTTP, PlatformViews, and texture producers through explicit adapters.

A coherent component system

Controls that share behavior—not just a look.

Material and Flat themes resolve the same controlled components, accessibility semantics, pointer and keyboard paths, and transient interaction model.

Explore components

Workspace settings

ApplyPreview
Project name
Built into the framework

More than a widget catalog.

Navigation, presentation, resources, tasks, files, and extensibility use the same ownership model.

Controls

Controlled, theme-resolved interaction primitives with shared pointer, keyboard, focus, and semantics behavior.

  • Button
  • IconButton
  • Checkbox
  • RadioButton
  • Switch
Read the guide

Text and input

Text measurement, editable values, validation, selection, IME integration, and submission actions.

  • Text
  • SelectionArea
  • TextField
  • Validation
  • Tooltip
Read the guide

Layout

Constraint-based composition, scrolling, responsive structure, and large-data virtualization.

  • Row
  • Column
  • Flow
  • Stack
  • ScrollView
Read the guide

Navigation

Destination controls, retained page stacks, typed routes, nested navigation, and browser history.

  • Tabs
  • TopAppBar
  • NavigationBar
  • NavigationPane
  • NavigationStack
Read the guide

Feedback and presentation

Window-level feedback, modal surfaces, anchored content, progress, and layered presentation.

  • ProgressCircle
  • ProgressBar
  • Toast
  • Dialog
  • BottomSheet
Read the guide

Graphics and media

Typed image resources, vector assets, custom paths, retained drawing, and external texture streams.

  • Image
  • Canvas
  • Path
  • VectorAsset
  • ExternalTexture
Read the guide
Run the same runtime in your browser

HuxerUI, compiled to WebAssembly.

The preview is one independently loaded application. Other demos stay dormant until you open their own URL.

SDK, CLI, and CMake

Start with the SDK or build from source.

Host SDK archives include the CLI, CMake package, host tools, resources, and packaged Android and Web artifacts.

From an empty directory to a runnable app.

huxerui create app hello --platform windows,macos,linux,web,android,ios
Follow the quick start
SDK workflow

Diagnose. Configure. Build.

huxerui doctor
huxerui run windows
Download the SDK