---
title: "Approvals queue"
description: "What a support agent is waiting on: refunds and replacements to approve, edit or decline, escalations, failed actions to retry, with tab counts and j/k/a/d keys."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/approvals-queue
---

# Approvals queue

What a support agent is waiting on: refunds and replacements to approve, edit or decline, escalations, failed actions to retry, with tab counts and j/k/a/d keys.

Loam Studio's support agent reads customer emails and return requests and proposes refunds; anything over £20 waits here. Tabs count To review, Escalated and Errored, and Done lists the decisions. Each item says what the agent wants to do, why, the policy check that stopped it and when, beside the customer's own words with the attachment, the order and the conversation. Approve is a split button whose menu also allows like requests under £40 from then on (with a Remove that rule link). Edit amount opens a currency field in place, checked against the order total. Decline takes an optional reason for the agent's reply and offers Undo in a toast for five seconds, from the block's own toast manager. An errored action retries with a spinner: a timeout goes through, a bad address fails again and says what to fix. j and k move through the list, a approves and d opens Decline, bound on the block and shown in a hint; focus moves to the next item after each decision and every change is announced.

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/approvals-queue
```

## Dependencies
- npm: lucide-react@^1.33.0
- edbn: edbn-base, button, button-group, dropdown-menu, field, input, kbd, number-field, spinner, tabs, text-link, 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 workspace blocks

All 6, with install commands: https://ui.edbn.me/docs/blocks/workspace (Markdown: https://ui.edbn.me/docs/blocks/workspace.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
