Collapsible sections for queued messages, todos, and attachments — built for AI workflow progress and pending work.
Queued messages & todos
Collapsible sections for pending prompts and todos. Hover an item for send/remove actions; attachments render as images or file chips.
Loading…
Installation
CLI
Also needs
npx @sonojs/ui@latest add button collapsible scroll-area && npm i lucide-reactUsage
queue.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| defaultOpen | boolean | true | `QueueSection` — start expanded. |
| completed | boolean | false | `QueueItemIndicator` / `Content` / `Description` — muted + strike-through. |
| count / label | number / string | — | `QueueSectionLabel` — e.g. `3 Queued`. |
| QueueMessage / QueueTodo | types | — | Optional data shapes for message parts and todo status. |