Ordinary Rust API
Compose concrete, strongly typed elements with chainable builders and explicit capabilities.
A cross-platform GUI workspace with fine-grained reactivity, native text, and native GPU rendering.
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.