Xilem – An experimental Rust native UI framework

Xilem drops: Rust UI fans hype the future while demanding missing widgets

TLDR: Xilem is a new experimental Rust tool for building app interfaces, aiming to be simple and responsive across web and desktop. The community is split between excitement for the vision and frustration over missing basic widgets, with many falling back to Tauri or sticking with tried‑and‑true Qt—fueling the ongoing Rust UI debate.

Rust’s newest shiny thing, Xilem, just landed with big dreams: a simpler, reactive way to build app interfaces, backed by its lower-level sibling Masonry and powered by speedy graphics tools. Think “build it once, it updates itself” vibes, with both web and native backends. The GitHub repo is buzzing, but the real show is the comments.

On one side: hopefuls cheering the vision. On the other: a chorus of “where are the basics?” Users say it’s promising but rough around the edges, with one fan admitting “many standard UI components… are not implemented yet.” Translation for non-coders: some everyday buttons and drop-downs aren’t there. Cue the meme: “Great framework, no selection box.”

Then the Rust GUI wars kick off. Some users bounce between Xilem and rivals like egui, Iced, and Slint, before sprinting back to Tauri (the “build it fast with web tech” option) when deadlines hit. A classic zinger: “I keep going back to Tauri.” Meanwhile, the Qt faithful arrive with “we’ve had this solved for years,” waving the qmetaobject-rs flag: declarative UIs in Qt, logic in Rust, and yes—actual widgets.

The spiciest question: Is Xilem staying “experimental” forever? One commenter asks if there’s a plan to graduate from the lab soon. The maintainers welcome contributions, and fans say that’s the point: if you want it, help build it. Until then, it’s popcorn time for the Rust GUI saga.

Key Points

  • Xilem is an experimental high-level reactive UI framework for Rust with web and Masonry backends.
  • Masonry is a foundational crate providing a retained widget tree and event/update passes, used to build frameworks like Xilem.
  • The stack includes winit (windowing), Vello and wgpu (2D graphics), Parley and Fontique (text), and AccessKit (accessibility).
  • Quick-start instructions: run examples via cargo (e.g., to_do_mvc) and add Xilem with cargo add xilem; repository entry points are xilem/ and masonry/.
  • Linux/BSD prerequisites and distro-specific install commands are provided; MSRV is Rust 1.92+, with contributions via Linebender Zulip and Apache 2.0 licensing.

Hottest takes

"Many standard UI components, such as selection box, are not implemented yet" — sheepscreek
"Xilem needs more widgets out of the box to be easy to build with" — brainless
"UI itself is best done declaratively not imperatively" — sourcegrift
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.