Skip to content

AnmixiuNative Rust UI, ordinary Rust values

A cross-platform GUI workspace with fine-grained reactivity, native text, and native GPU rendering.

counter.rs
let count = self.count.get();
let increment = self.count.clone();

div()
    .padding(px(28.0))
    .gap(px(18.0))
    .child(text(shared_format!("Count {count}")))
    .child(
        button("Increment")
            .id("increment")
            .on_click(move || {
                increment.update(|value| *value += 1)
            }),
    )

CAUTION

Anmixiu is experimental. Public APIs and platform contracts may change before a stable release.

Released under the MIT License.