Ballmac UI home

Agent 13: review desk

A review desk for what agents produced: pick an item, read what it did and changed, approve it or send it back with a reason, all from the keyboard, and it moves on to the next one waiting.

State

The normal view. Pick a state to see what the block shows while it loads, is empty or fails.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/agent-13

Usage

Example: agent-13-demo.tsx
"use client"

import { Agent13 } from "@/components/ballmac/blocks/agent-13/agent-13"

export default function Agent13Demo() {
  return <Agent13 />
}

States

Pass state and the block does the rest: skeletons that match its layout, a clear empty message, an error you can retry, and announcements for screen readers.

  • Loading

    Skeleton list and detail under the real heading, announced as loading.

    state="loading"
  • Nothing to review

    Says nothing is to review; emptyState sets the copy.

    state="empty"
  • Could not load

    An alert saying nothing was approved or sent back, with Try again (onRetry). A decision that fails to save is taken back with the reason.

    state="error"

Dependencies

npm
None

Use with AI

Review desk. <Agent13 title description items={ReviewItem[]} onApprove={(id) => Promise} onRequestChanges={(id, comment) => Promise} />. Each item's preview can be any node (the sample uses a diff with added and removed lines written out for screen readers). J and K move, A approves, R asks for changes; decisions are optimistic and undone with the reason if they reject. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Agent 13: review desk (@ballmac/agent-13) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • The screen where a person checks what agents made before it goes out
  • A fast approval queue with context

Not for

  • One approval inside a chat; use approval-card
  • Many agents at once; use agent-12
  • A batch of identical items; use agent-14

Registry JSON: https://ui.ballmac.com/r/agent-13.json

Free to use in personal and commercial projects.

Ballmac UI Pro

Need the whole screen, not one piece?

150 premium blocks (dashboards, settings, calendars, mail, shops, onboarding), a private shadcn registry and Figma tokens. Blocks that show data come with loading, empty and error states built in.

Not ready? Try three Pro blocks free

Leave your email and the blocks appear right here, ready to copy. Yours to use in any project.