# audulus/rui

Declarative Rust UI library

Repository: https://github.com/audulus/rui
Canonical: https://ross.abutalabs.com/products/rui
Language: Rust
License: MIT
License Family: permissive
Topics: rust, gui, gpu, winit, wgpu, vger, graphics, ui, declarative-ui, user-interface, immediate-gui
Last push: 2026-05-22T02:06:24+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 35, longevity 100
- inputs: {"age_days": 1687, "days_push": 104, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2040, forks 47 (observed 2026-08-28T04:06:08.501739+00:00)

## What it is
rui is an experimental declarative GPU-rendered UI library for Rust, inspired by SwiftUI. It uses reactive state-driven re-rendering with no retained view tree or DOM diffing, built on winit/wgpu and the vger renderer.

## Use cases
- build a desktop GUI app in Rust with a SwiftUI-like API
- render GPU-accelerated custom shapes and canvas drawings
- create reactive UIs where views re-render on state change
- prototype cross-platform Rust interfaces for macOS, Windows, Linux, and iOS
- draw gradients, circles, and custom graphics with a canvas API
- build simple interactive widgets like counters, buttons, and sliders

## When to choose
- you want SwiftUI-style declarative ergonomics in Rust
- you prefer a minimal, simple implementation over heavyweight widget toolkits
- you need GPU-rendered UI with a canvas for custom drawing
- you're building an app like Audulus and want reactive, no-DOM rendering

## When to avoid
- you need a production-stable, mature UI toolkit with a full widget ecosystem
- you require accessibility support or complex retained-view features
- you need a DOM-based or web-technology UI
- your project depends on long-term API stability, since the library is experimental

## Facets
- artifact type: library
- maturity: experimental
- function: ui-components, frontend-framework, graphics
- domain: web-development, developer-tools, cross-platform
- platform: rust, windows, wasm
- tags: declarative-ui, gpu-rendered, swiftui-inspired, immediate-mode, wgpu, reactive-ui, macos, linux, ios

## Member repositories
- audulus/rui (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.501739+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:58:21.535923+00:00, confidence not recorded.
  - readme: https://github.com/audulus/rui (fetched 2026-08-28T04:06:08.501739+00:00, sha 240f5ad194e5)
  - registry_crates: https://crates.io/api/v1/crates/rui (fetched 2026-08-29T10:38:23.443549+00:00, sha d6af2f6f7a87)
- Data as of 2026-08-30T08:39:29.467469+00:00.
