# linebender/xilem

An experimental Rust native UI framework

Repository: https://github.com/linebender/xilem
Canonical: https://ross.abutalabs.com/products/xilem
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-08-25T07:47:59+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 42, longevity 99
- inputs: {"age_days": 1386, "days_push": 8, "days_rel": 308, "gap_med": 85.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5503, forks 235 (observed 2026-08-28T04:09:21.722097+00:00)

## What it is
Xilem is an experimental reactive UI framework for Rust, inspired by React, SwiftUI, and Elm, built on Masonry, winit, Vello/wgpu, and Parley. It provides a lightweight view tree for building natively compiled cross-platform GUI applications, with both a native (Masonry) and web backend.

## Use cases
- build a native desktop GUI app in Rust
- write reactive UIs with an Elm-style architecture
- create cross-platform Rust applications with GPU-rendered 2D graphics
- prototype a Rust alternative to Electron for desktop apps
- build accessible native UIs with AccessKit support
- render the same Rust UI on desktop and web

## When to choose
- you want a Rust-native, GPU-accelerated UI framework with a reactive model
- you're experimenting with next-generation Rust GUI architectures and can tolerate API churn
- you need accessibility support and a modern text stack out of the box

## When to avoid
- you need a stable, production-ready framework with long-term API guarantees
- you need a mature widget ecosystem and extensive third-party components
- your project requires immediate, guaranteed support for a specific platform or feature

## Facets
- artifact type: framework
- maturity: experimental
- function: ui-components, frontend-framework, graphics
- domain: cross-platform, developer-tools, web-development
- platform: rust, cross-platform, windows, wasm
- tags: gui, reactive-ui, elm-architecture, native-ui, gpu-rendering, accessibility, linux, macos

## Member repositories
- linebender/xilem (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:21.722097+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-29T17:56:17.695414+00:00, confidence not recorded.
  - readme: https://github.com/linebender/xilem (fetched 2026-08-28T04:09:21.722097+00:00, sha cdf140cbeece)
  - registry_crates: https://crates.io/api/v1/crates/xilem (fetched 2026-08-29T08:51:20.192774+00:00, sha 1690be528a66)
- Data as of 2026-08-30T08:39:29.467469+00:00.
