Skip to content
Sign in
EvalsReview queueMenu

Review queuePro

A human labeling queue with keyboard shortcuts, skip, flag and progress.

ProLabel answers with G, B, F and S; Z undoes.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/review-queue

Usage

tsx
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

PropTypeNotes
items{ id, input, output, meta? }[]The queue
labels, onLabelRecord<string, ReviewLabel>Controlled labels; null clears

Accessibility

  • Every shortcut is also a button; progress is a polite live region.