WORK
Last updated on

GUI Framework

GUI Framework

Cross-platform Rust GUI framework with GPU-accelerated rendering

A high-performance GUI framework designed for professional applications such as CAD, 3D modeling and media editing. It combines declarative, reactive UI with native-level GPU performance — the interface and the 3D scene share one rendering path.

The framework builds UI from the GPU shader level without depending on existing UI libraries or rendering engines. Every element on screen — text rasterization, rounded corners, borders, shadows — is processed directly on the GPU through WGPU.

Features

  • GPU-accelerated rendering — one WGPU pipeline draws UI, 2D vector graphics and 3D scenes
  • Cross-platform — macOS / Windows natively, and the web through WebAssembly + WebGPU
  • Reactive UI — signals and memos in the style of SolidJS / Leptos; only what changed is re-rendered
  • Builder API — components are composed with a typed builder rather than a template language
  • Flexbox layout — CSS-like layout powered by Taffy
  • Design system — icons, form controls (slider, number scrub, checkbox, radio, toggles), tooltips, context menus, accordions, color picker, light and dark themes
  • Text input — native editing with IME support, caret, selection and clipboard
  • Inspector & e2e harness — the element tree of a running app can be read and driven from outside, which is how the app is tested end to end (headless, GPU readback screenshots)

Demo

State Management

Hooks Demo

State lives in signals; derived values are memos. Components re-run only the closures that read a changed signal.

Text Input

Input Demo

Text input and keyboard shortcuts are implemented natively on top of the GPU text pipeline, including IME composition, cursor movement and selection.

Comparison with Other Frameworks

This frameworkFlutterDioxusegui
3D IntegrationNativeExternalNoneLimited
Direct GPU ControlYesNoPartialNo
Declarative UIYesYesYesNo
Custom ShadersYesNoPartialNo

Tech Stack

FunctionLibrary
RenderingWGPU (Vulkan/Metal/DX12/WebGPU)
LayoutTaffy (Flexbox)
TextGlyphon
2D TessellationLyon
Mathnalgebra