mobiler-ui 0.13.0

Mobiler's fixed UI wire ABI — app-agnostic Widget tree + Action protocol
Documentation

mobiler-ui

Mobiler's fixed UI wire ABI.

The stable contract between a Mobiler app's Rust core and its native shell:

  • an app-agnostic Widget tree (the ViewModel the core emits),
  • an Action protocol (events the shell sends back),
  • InputValue and style-token enums (TextStyle, Tone, Spacing, …).

Because these types never change per app, a single native shell is built once and renders any Mobiler app — it only ever knows these types, never an app's domain events or widgets.

The Widget vocabulary covers layout (rows/columns/grids/cards/scrollers), inputs (text fields, toggles, segmented, search, rating), navigation (scaffold + tabs + FAB + sheets), media (images, avatars), feedback (progress, skeleton, swipe actions), an inline calendar, and data-viz chartsChart in eight styles (bar, line, stacked, 100%-stacked, pie, donut, fitness-style progress rings, and a radial gauge) plus a variable-width stacked-region / coverage-gap RegionChart.

You usually don't depend on this crate directly. Use mobiler-core, which re-exports it and provides the MobilerApp trait plus the typed widget builders.

License

Dual-licensed under either MIT or Apache-2.0, at your option.