Review queuePro
A human labeling queue with keyboard shortcuts, skip, flag and progress.
On this page
ProLabel answers with G, B, F and S; Z undoes.
Installation
Usage
import { ReviewQueue } from "@/components/ui/chatcn/pro/review-queue"
<ReviewQueue items={items} labels={labels} onLabel={setLabel} />G, B, F and S label the item in view and move to the next unlabeled one; Z undoes. Keys work while focus is inside the queue.
Examples
States
ProA finished queue.
Props
| Prop | Type | Notes |
|---|---|---|
items | { id, input, output, meta? }[] | The queue |
labels, onLabel | Record<string, ReviewLabel> | Controlled labels; null clears |
Accessibility
- Every shortcut is also a button; progress is a polite live region.