Toasts (stacking, undo)
Generated from
mcp/patterns.registry.json— do not edit by hand; change the registry and runbun run patterns:build.
Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.
Category: App Shell & Navigation · Tier: light · Risk: low — structural pattern, no external services
Ephemeral, stacking feedback messages (success/error/warning/info) shown in response to user-initiated actions, distinct from the persistent notification center.
When to use: Reach for it when giving immediate feedback for a user action such as a save, delete, or copy, optionally with an undo affordance.
Docs
Code
src/lib/components/composites/toast/(GitHub · GitLab)src/lib/state/toast.svelte.ts(GitHub · GitLab)
Proof
Machine-readable record: app-shell-toasts in mcp/patterns.registry.json.