Skip to main content

Module ui

Module ui 

Source
Expand description

§UI Elements

Core UI types produced by the view! macro. Every declarative tag (<button>, <h1>, <p>, etc.) compiles down to an Element node.

The Bubba runtime serialises the element tree to JSON and sends it to the Android Java layer via JNI — exactly like React Native’s UIManager.

Structs§

Element
The fundamental UI node. Every tag in a view! block becomes one of these.
Screen
A rendered screen — the return type of every screen function.