Why
Every slot needs the same bottom bar, and every platform wants it slightly different: currency formatting, turbo rules, autoplay limits, jurisdiction notices. Rebuilding it per game means rebuilding the bugs per game.
mountHud(app, spec); // menu, balance/bet/win, spin, autoplay, buy, history, rules, notices
Architecture
@open-slot-ui/coreis headless and dependency-free: signals, one state machine per control, theme tokens, layout, an event bus and introspection.@open-slot-ui/pixiis a thin view layer for in-canvas HUDs.@open-slot-ui/domrenders the same HUD as plain markup you style with your own CSS.
Testable without pixels
In dev builds, window.__OPENUI__ exposes every control's state, whether it's clickable, its bounds, and an event log. End-to-end tests click by meaning and assert on state; they never read a pixel. It's the shared HUD in artubeplate and stakeplate.