Modal
The in-game modal: an ink-on-paper card that pops over a dimmed backdrop with
a single call-to-action. Used for the treasure pickup — tapping a loot bag
within melee reach opens it; the CTA collects the treasure and the bag
disappears. dismissible controls whether Escape / a backdrop tap
also closes it.
- title — bold heading (optional)
- icon — snippet illustration above the title (optional)
- children — body copy
- ctaLabel — confirm button text (default “OK”)
- onclose — fired by CTA, Escape, or backdrop tap
- dismissible — allow Escape / backdrop to close