For AI agents: the complete documentation index is available at https://a3s-lab.github.io/UI/v0.4.0/en/llms.txt, the full documentation bundle is available at https://a3s-lab.github.io/UI/v0.4.0/en/llms-full.txt, and this page is available as Markdown at https://a3s-lab.github.io/UI/v0.4.0/en/components/task-queue.md.

Task Queue

Task Queue presents work waiting behind or alongside the active task. Scheduling, concurrency, prioritization, and cancellation remain application logic.

Live preview

Task queue

One running · two waiting

Running
  1. 01
    Review release changesA3S UI · started 2m ago
  2. 02
    Update component documentationA3S UI · waiting
  3. 03
    Publish releaseWaiting for approval

Usage

<section class="task-queue" data-state="running" aria-labelledby="queue-title">
  <header><h2 id="queue-title">Task queue</h2><span data-queue-status>Running</span></header>
  <ol><li data-state="queued">...</li></ol>
</section>

Parameters

APIValuesPurpose
data-stateidle, running, paused, blocked, complete, errorAggregate queue state
Item data-statequeued, running, blocked, complete, errorPer-task state
data-queue-actionsOptionalOpen, retry, cancel, or reprioritize

States and variants

Order must match execution order. Reordering requires an explicit handle and immediate confirmation; do not make the entire row draggable by default.

Accessibility

Use an ordered list and textual states. Announce only meaningful queue changes, not timer updates.