Pre-release · 10 componentsComponents for GPUI,
Components for GPUI,
yours to own.
A set of well-designed components for building native Rust apps with GPUI. Copy them into your project, read every line, and make them your own.
my-app: native window
Project settings
Changes apply to every window on next launch.
Command palette ⌘K
Team
3 people can edit.
HKHyuskOwner
ZDZedEditor
RSFerrisViewer
GPU frame time: 2.1 ms
Rendering at 120 fps on Metal.
Web replica. In your app these render natively through GPUI.
Styled like Tailwind. Compiled like Rust.
GPUI's builder API reads like utility classes: .flex(), .gap_2(), .rounded_lg(). hyuskui components are written in it, so changing a style is a one-line edit the compiler checks.
$ cargo hyuskui add button
Button::new("deploy", "Deploy")
.variant(ButtonVariant::Default)
.on_click(|_, _, cx| deploy(cx))You own the code
Components are copied into your project as plain Rust. No crate to upgrade, no styles to override.
GPU-native
Built on GPUI, so every frame is drawn on the GPU through Metal, Vulkan or DirectX.
One theme
Every color and radius comes from a single Theme global. Ship light, dark, or your brand.
Works with cargo
cargo hyuskui add button card copies files and wires up mod.rs.