Expand description
Lumen UI framework core crate.
- Owns the tick loop,
commandqueue, ECS components, and the two ECS worlds (main + render). Seerender_worldfor the cross-world flow. - Backend traits are marker types; concrete backends register systems via
app::Plugin. - Hierarchy uses
bevy_ecs::hierarchy::ChildOfandbevy_ecs::hierarchy::Children, re-exported fromprelude.
Modulesยง
- app
- App builder and
Plugintrait. Wraps [bevy_ecs::World] andScheduledirectly without depending onbevy_app. - command
- Bounded command queue for off-main-thread mutations of ECS state.
- components
- ECS component primitives.
- i18n
- Process-wide translation hook - the one surface a script host reaches translation through.
- input
- Pointer, keyboard, drag, IME, and file-drop event types plus shared input resources.
- introspect
- Typed, whitelisted component-introspection registry for the dynamic
DOM
n.components()/n.component("LayoutBox")reads (design 4.7). - nav
- File-based-pages navigation primitive - the ONE surface every embedding reaches through.
- net_
capture - Process-wide, opt-in HTTP capture sink for dev tooling.
- node
- Node handles and the per-tick DOM index for the dynamic query API.
- node_ir
- Retained Node IR - typed scene-graph tree produced from the flat
Extracted*bag. - palette
- Design-token / named-color
Palette. - prelude
- Crate prelude re-exporting the common types. Glob-import with
use lumen_core::prelude::*;. - property_
store - Typed reactive property store with notify-on-write semantics.
- render_
world - Render world definitions and the extract pipeline.
- signals
- Reactive named-value store backing
bind-text="..."markup attributes and<for each="...">iteration. - text_
events - W3.2: text-editing message bus.
- text_
model - W3.1: rope-backed text model components.
- tick
- Main-world tick stages and the
Tickresource. - traits
- Marker traits identifying backend roles, plus the
Bindabletrait declaring a component as a property-bus participant. - window_
state - Process-global window-state mirror for the
windowscript namespace.