Azul GUI is a free, functional, reactive GUI framework for rapid development of desktop applications written in Rust and C, using the Mozilla WebRender rendering engine.
The roots aren't deep but the seeds are planted.
As a low level language, Rust is perfectly suitable for making user interfaces the old fashioned way, with native APIs. However, competing in today's world typically means supporting many platforms, and that makes using native APIs an unattractive option for many.
Rust's expressiveness and high level abstractions make it ideal for building intricate and complex user interfaces. Unfortunately, there is little consensus on what the best abstractions are.
There are a number of bindings available today to existing frameworks, but those looking for a mature, easy to use, and completely Rust-based solution will most likely find themselves out of luck.
Current approaches to building GUIs in Rust include interfacing with Electron and building GUIs with HTML (or a framework on top of it), while others have taken to using graphics APIs and various wrappers to emulate classical widgets. The cross platform parallel rendering engine Webrender, built for Servo and usable in Firefox Nightly, takes this latter approach and is multi-platform, but is more of a base for a GUI framework than one in itself.
Stay in the loop.
If you're working on or writing about GUIs in Rust, please contribute! Each news entry can either be a post contributed to the repo or a link back to your blog, Reddit thread, etc. See README for details.
Here are also some popular and recommended community links submitted to the site:
Tauri 2.0 Stable Release by Tillmann Weidinger
https://v2.tauri.app/blog/tauri-20/Pax enters Beta: Rust GUIs with an integrated design tool by Zack Brown
https://old.reddit.com/r/rust/comments/1fdmjzl/pax_enters_beta_rust_guis_with_an_integrated/A New Architecture for a GUI Framework by Gavin D. Howard
https://gavinhoward.com/2024/05/a-new-architecture-for-a-gui-framework/Here are the most recent posts on AreWeGuiYet:
#Rust2019 Are We GUI Yet? by Dustin Bensing
/newsfeed/rust2019Ecosystem
Select a tag (or tags) below to only show relevant crates. All crates will be shown when no tags are selected.
cacao
[crate · repo · docs]Rust bindings for AppKit (macOS/Airyx/GNUStep, beta) and UIKit (iOS/tvOS, alpha).
Cushy
[crate · repo · docs]A wgpu-powered graphical user interface (GUI) library with a reactive data model.
CXX-Qt
[crate · repo · docs]CXX-Qt is a library that automatically generates code to transfer data between Rust and C++ through common interfaces such as QObjects that can be exposed directly into QML. It uses the cxx crate for safe interaction between Rust and C++.
Dioxus
[crate · repo · docs]Elegant React-like library for building user interfaces for desktop, web, mobile, SSR, liveview, and more.
Dominator
[crate · repo · docs]Zero-cost ultra-high-performance declarative DOM library using FRP signals.
druid
[crate · repo · docs](Discontinued) Druid is an experimental Rust-native UI toolkit. Its main goal is to offer a polished user experience. There are many factors to this goal, including performance, a rich palette of interactions (hence a widget library to support them), and playing well with the native platform.
Floem
[crate · repo · docs]UI library aiming to be extremely performant while providing world-class developer ergonomics. From the team that made the Lapce code editor.
fltk
[crate · repo · docs]The FLTK crate is a crossplatform lightweight gui library which can be linked to statically to produce small, self-contained and fast binaries.
flutter_rust_bridge
[crate · repo · docs]High-level memory-safe binding generator for Flutter/Dart <-> Rust.
fui
[crate · repo · docs]MVVM-oriented (properties, observable collections, bindings), ui! macro, multiplatform, renderer-agnostic, with styles.
GPUI
[crate · repo · docs]A hybrid immediate and retained mode, GPU accelerated, UI framework, designed to support a wide variety of applications.
Iced
[crate · repo · docs]A renderer-agnostic GUI library for Rust focused on simplicity and type-safety. Inspired by Elm.
KAS
[crate · repo · docs]The toolKit Abstraction System leverages generics and macros to compose widgets with encapsulated user data, provides a powerful event-handling model and scales to at least 100'000 widgets per window.
Leptos
[crate · repo · docs]Leptos is a full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.
lvgl
[crate · repo · docs]LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
native-windows-gui
[crate · repo · docs]A rust library to develop native GUI applications on the desktop for Microsoft Windows. Native-windows-gui wraps the native win32 window controls in a rustic API.
qmetaobject
[crate · repo · docs]A framework empowering everyone to create Qt/QML applications with Rust. It does so by building QMetaObjects at compile time, registering QML types (optionally via exposing QQmlExtensionPlugins) and providing idiomatic wrappers.
rstk
[crate · repo · docs]A Rust binding for the Tk graphics toolkit. Tk is suitable for creating simple GUI programs or interactive graphical displays. This library supports a large portion of the Tk API, in a generally rust-like style.
sciter-rs
[crate · repo · docs]Rust bindings for Sciter - Embeddable HTML/CSS/script engine (cross-platform desktop GUI toolkit). Also capable with DirectX / OpenGL.
Slint
[crate · repo · docs]Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. It comes with a fast OpenGL renderer, a designer-friendly markup language and is written in Rust. Triple-licensed: GPLv3, Royalty-free, and Commercial.