Zafiro UI
Component Library Introduction
This section documents reusable UI primitives used in Zafiro. The goal is to keep a stable, extraction-ready surface for a future standalone package (`zafiro-ui`) while preserving current MPA behavior in the app.
Scope
UI docs cover shareable visual components. Game logic, scene bootstrapping and app-specific runtime integration remain outside library scope.
Library assumptions
- Use real production components as demos, not mock lookalikes.
- Keep props explicit and composable to simplify extraction to zafiro-ui.
- Use absolute app routes for MPA transitions between pages.
- Treat docs as API contract: snippets and behavior must reflect real usage.