# AI Queue Panel

Queue of pending prompts for an AI agent that can be reordered by drag and drop and cancelled.

- id: `ai-queue-panel`
- Page: https://agentic-ui-kit.com/components/ai-queue-panel
- Live preview: https://agentic-ui-kit.com/live/component/ai-queue-panel?piece=ai-queue-panel

## Install

```bash
agentic-ui add ai-queue-panel
npx shadcn@4.17.0 add @agentic-ui/ai-queue-panel
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** prompt-queue, todo-queue, status-labels, drag-reorder, keyboard-reorder, cancel-item, clear-finished, grouped-by-state, reorder-announcements, reduced-motion, dark-mode
- **Intents:** orchestrate-agents, manage-collection, track-status
- **Suits domains:** ai-agents, ai-workspace, project-management, devtools, saas
- **Interaction:** drag-and-drop, keyboard-reorder, click, cancel
- **Screen role:** management
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** queue of pending prompts for an AI agent that can be reordered by drag and drop and cancelled, list of upcoming todos and prompts with running, waiting and finished status, agent task queue panel with reorder, cancel and clear finished, message queue while the assistant is busy, with keyboard reordering
- **Avoid when:** a full job scheduler with retries and cron (use ai-workflow-schedule), a kanban board with columns (use kanban-swimlanes), a support ticket queue with assignees and SLAs
- **Preserve when adapting:** only-waiting-items-move, text-status, dnd-announcements
- **Replace when adapting:** items, cancel-handler, run-source
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button
- **npm dependencies:** lucide-react, @dnd-kit/core, @dnd-kit/sortable, @dnd-kit/utilities
- **npm dependencies (registry):** @dnd-kit/core@6.3.1, @dnd-kit/sortable@10.0.0, @dnd-kit/utilities@3.2.2, lucide-react@0.577.0
- **Registry dependencies:** lib-primitives
