Skip to main content

Crate xui

Crate xui 

Source
Expand description

§XUI

xui is an ergonomic wrapper around the gpui framework, designed to simplify UI development in Rust by providing declarative macros and convenient utilities.

Re-exports§

pub use gpui;

Modules§

colors
Predefined color constants mapped to gpui::Hsla values.
macros
Re-exports procedural macros and defines utility macros for xui.
prelude
The prelude module re-exports the most commonly used items, traits, and macros. Importing this module via use xui::prelude::*; brings all essential XUI and GPUI components into scope.
sizes
Re-exports of common sizing utilities from gpui.

Macros§

read_global
A convenience macro for reading global state from the GPUI application context.