Prodular UI

Review queue

Pro

The work waiting for a person, in groups with counts, with one item open and resolved items keeping a record of the decision.

npx prodular-ui add review-queue

Part of Prodular UI Pro. Preview and read the docs freely, install with a license. See pricing

Beside the detail

Pick an item, decide, and the queue moves it to Done and opens the next one.

Tidewater Freight, INV-2047

Onboarding billed $1,500 over the order

The invoice charges $6,000.00 for onboarding. Purchase order PO-1187 allows $4,500.00.

States

Held for a decision and open, waiting its turn, and resolved with a record of who decided.

Anatomy

<ReviewQueue aria-label="Invoice exceptions">  <ReviewQueueHeader>    <ReviewQueueTitle>Invoice exceptions</ReviewQueueTitle>    <ReviewQueueDescription>3 of 12 left</ReviewQueueDescription>  </ReviewQueueHeader>  <ReviewQueueContent>    <ReviewQueueGroup label="Waiting for you" count={3}>      <ReviewQueueItem status="held" active>        <ReviewQueueItemEyebrow>Tidewater Freight</ReviewQueueItemEyebrow>        <ReviewQueueItemMeta>2 h</ReviewQueueItemMeta>        <ReviewQueueItemTitle>Billed over the order</ReviewQueueItemTitle>      </ReviewQueueItem>    </ReviewQueueGroup>  </ReviewQueueContent></ReviewQueue>

Guidance

Use it when

  • Use it wherever an agent or a rule hands work to a person: flagged clauses, invoice exceptions, updates to confirm.
  • Group by what the item needs from the reader, such as Waiting for you and Done, and pass count.
  • Say what is left in ReviewQueueDescription, such as 3 of 12 left.
  • Keep resolved items in the queue with ReviewQueueItemResolution, so people can see what was decided.

Avoid

  • Ordinary navigation. Use Sidebar or Tree.
  • Long lists to sort and filter. Use DataTable.
  • Removing an item as soon as it is decided. The record is part of the review.

Rules for AI agents

Published in llms-full.txt, the registry and the MCP server, so coding agents follow them when they build with this component.

  • Set status on every ReviewQueueItem: held when it is stopped for a decision, open when it waits its turn, resolved when it is done.
  • Set active on the one item shown in the detail. It sets aria-current. Move active to the next open item after a decision.
  • Give ReviewQueue an aria-label, because it renders a nav landmark.
  • Render items as links with render={<a href="…" />} when each has its own URL; the default is a button.
  • Put it in a panel or a MasterDetail list. Do not add a card around each item.

API

ReviewQueueGroup

PropTypeDefaultDescription
labelReactNodeRequired. What this group needs from the reader.
countnumberHow many items are in the group.

ReviewQueueItem

PropTypeDefaultDescription
status"open" | "held" | "resolved""open"held shows a dot, resolved quiets the title.
activebooleanfalseThe item open in the detail. Sets aria-current.
renderReactElementThe element to render, for example a link.

Installation

The Prodular UI CLI adds the source to components/ui with everything it depends on. In a project that already uses shadcn/ui, the shadcn CLI installs it from the Prodular registry too. See Installation for the first setup.

npx prodular-ui add review-queue# or, with the registry in components.jsonnpx shadcn@latest add @prodular/review-queue