name: bubbletea-dialog-stacking description: Pointer to the Bubble Tea overlays skill and reference material for stack-based dialogs.
Bubble Tea Dialog Stacking (Pointer)
For full guidance on overlay orchestration load bubbletea-overlays and read references/overlays.md within that skill. Pair it with:
lipgloss-layout-utilitiesto align modal shells and backdrop scrimsbubbles-inputsfor focus handling across forms, palettes, and list-driven dialogslipgloss-componentswhen dialogs display reusable rendered widgets
Quick reminders
- Model each dialog or sheet as a Bubble Tea program implementing
Init,Update, andViewplus a stableID(). - Push overlays onto the shared stack and allow the root manager (defined in
references/overlays.md) to gateUpdatebefore background routes fire. - Emit domain messages on close (
ConfirmDeleteMsg,CancelMsg) so the root model reconciles state prior to popping the stack.
👉 Use this pointer when the task mentions “dialog stacking” explicitly; otherwise start with bubbletea-overlays to get the full overlay playbook.