---
title: "Toast stack"
description: "Activity toasts stacked in their own panel's corner: an order shipped with Undo, photos uploading with progress, a declined card with Retry."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/toast-stack
---

# Toast stack

Activity toasts stacked in their own panel's corner: an order shipped with Undo, photos uploading with progress, a declined card with Retry.

A short queue of jobs fires the toasts: Ship sends an Order shipped toast with Undo, which puts the order back; Upload shows a progress bar and a count that turn into a success in the same toast; Charge fails with Retry, which retries and then reports the payment. Each row follows what its toast says. The toasts use the Base UI toast component with a manager of their own and a viewport inside the panel, so they stack in its bottom corner rather than the page's and never mix with other toasts. Three from earlier stay up at first, so there's a stack to see. The stack fans out under the pointer or keyboard focus, and F6 reaches it. Errors are announced at once; the rest politely. Each toast closes with its own button, and successes leave on their own after a few seconds.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/toast-stack
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, badge, button, card, progress, spinner, toast

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More notifications blocks

All 5, with install commands: https://ui.edbn.me/docs/blocks/notifications (Markdown: https://ui.edbn.me/docs/blocks/notifications.md)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
