Skip to content
QuaUI
On this page

QuaUI handbook

Choose an authoring language and follow a surface from layout through painting and input.

QuaUI embeds in an existing application or engine. Compose controls as Rust functions, or describe structure in TSX and styles in QSS. Both paths produce a tree with stable node IDs, logical bounds and paint properties.

Start with a button

  • Rust authoring constructs a button, composes a column and hands the surface to a native paint host. It needs only a Rust toolchain.
  • TSX authoring configures JSX, compiles styles and mounts the button in a web page.
  • Layout and paint covers the box model, absolute placement, stacking and picking.
  • Media and effects describes asset references, players and WGSL layers.
  • Host integration covers DOM reconciliation, scene graph drawing and Rust paint callbacks.

Follow a click

The application builds its element tree from state. QuaUI resolves logical bounds, then the host paints text and controls. Activating a button delivers an intent with an event and an action. The application handles the action and supplies the next tree. For a reader, the Continue button can emit advance and the reader decides which page comes next.

Try both versions of the live example.