# Application Comments and Annotation: Pending Review Tray

Draft comments held for one review, each with a section anchor, quote, and edit controls, above a summary field, verdict choices, and a submit button.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/pending-review-tray
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Comments and Annotations](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations)
- Created: 2026-07-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/pending-review-tray.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-comments-annotations-pending-review-tray
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, label, radio-group, textarea
- Installs to: `@/components/blocks/application-pro/comments-annotations/pending-review-tray`

## About this block

Pending Review Tray batches draft comments so nothing
publishes one at a time: four drafts on Payments API spec
v2, each showing its section anchor (2.1 Authentication,
3.4 Error envelope, 4.2 Pagination, 6.0 Webhooks), the
quoted passage in a muted italic line, and edit and
discard controls. Below the list sits a review summary
field prefilled with the reviewer note, a verdict choice
of Comment, Approve, or Request changes locked on Request
changes, and a submit action that publishes the batch.

Drafts are one typed array; verdicts are a separate const.
The header count, the draft badge, and the submit line all
read four, so the copy stays in sync with the data. The
footer note is the honest promise: drafts stay on the
document until you submit or discard them, and leaving the
page keeps the batch intact rather than losing your work.

## When to use

Reach for this block as the batched review step of any
document or design tool, wired to your draft-comment store
and a publish mutation. Bind Submit review to the call that
posts every draft at once and records the chosen verdict.

A natural flow around it on an Application Pro page:

**Before**

- [Comment composer](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations)
- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)

**After**

- [Resolved comments list](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations)
- [Activity feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)

## What you can display

One strong use is the spec review tray above. Other
pending batch shapes:

- **PR review draft.** Pending inline code comments held
  until you approve or request changes on the whole diff.
- **Design file review.** Draft frame notes queued behind
  a single Approve or Request changes verdict.
- **Contract markup.** Redline comments batched for one
  legal sign off instead of a stream of live edits.

> Tip: the footer note, drafts stay until you submit or
> discard, is what makes the batch feel safe to leave and
> come back to later.

## More in Application Comments and Annotations

- [Annotation Layers Rail](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/annotation-layers-rail)
- [Annotation Toolbar Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/annotation-toolbar-blueprint)
- [Canvas Pin Comments](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/canvas-pin-comments)
- [Code Review Thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/code-review-thread)
- [Comment Assignments](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/comment-assignments)
- [Comment Composer](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/comment-composer)
- [Comment Notification Inbox](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/comment-notification-inbox)
- [Comment Sidebar](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/comment-sidebar)
- [Inline Annotation Thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/inline-annotation-thread)
- [Mention Picker Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/mention-picker-blueprint)
- [Outdated Comments Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/outdated-comments-panel)
- [Reaction Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/reaction-bar)
- [Resolved Comments List](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/resolved-comments-list)
- [Spreadsheet Cell Comments](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/spreadsheet-cell-comments)
- [Suggestion Review Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/suggestion-review-row)
- [Video Timestamp Comments](https://www.shadcn-ui-blocks.com/blocks/application-pro/comments-annotations/video-timestamp-comments)
