Skip to content
Get Pro

Message Queue

Pending user turns that remain visible, removable, and immediately sendable while an agent is busy.

Loading component preview…

Installation

Add the component source directly to your project.

pnpm dlx shadcn@latest add https://pastaui.com/r/message-queue.json

API reference

Message Queue

Message Queue properties
PropTypeDefaultDescription
itemsQueuedMessage[]Provides the pending turns and upload counts.
onRemove(id: string) => voidRemoves a queued turn.
onSendNow(id: string) => voidHandles the Steer action to send a queued turn immediately.
onReorder(items: QueuedMessage[]) => voidReceives the reordered queue after dragging a side handle or pressing its arrow keys.
onMoveToTop(id: string) => voidEnables the Move to top action in each message menu.