# Application Data Table: Diff Review Table

A config change review table striking old values beside proposed ones, with change badges, a left rule accent, and approve and reject actions.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/diff-review-table
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Data Tables](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)
- Created: 2026-07-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/diff-review-table.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-data-tables-diff-review-table
```

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, radix-ui
- shadcn/ui components: badge, button, table
- Installs to: `@/components/blocks/application-pro/data-tables/diff-review-table`

## About this block

Diff Review Table is the config change review panel for a
pending settings deploy, eight keys diffing their current
value against a proposed one. Modified rows strike the old
value beside the new; added rows read not set on the left,
removed rows read removed on the right. Each row carries a
left rule accent and a change badge, and the header counts
the mix beside Request changes and Approve and apply
actions.

Changes are one typed array with a kind of modified,
added, or removed, and the count line is derived once
above the component. The left rule uses the primary color
for added keys and the destructive color for removed ones,
so the shape of the change reads before any value is read.
The footnote notes removed keys keep their last value in
the audit history for 90 days.

## When to use

Reach for this block on any approval step where a person
signs off on configuration before it ships: environment
variables, feature limits, or infrastructure settings.
Wire the two actions to your approval endpoint and gate
Approve and apply behind the roles allowed to deploy.

A natural flow around it on an Application Pro page:

**Before**

- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)
- [Developer tools](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)

**After**

- [Dialogs](https://www.shadcn-ui-blocks.com/blocks/application-pro/dialogs)
- [Activity](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)

## What you can display

One strong use is the settings deploy review. Other diff
tables:

- **Pull request settings.** Repository rules before and
  after, with an added or removed badge per rule.
- **Pricing change.** Current plan limits struck beside
  proposed ones, approved before the billing run.
- **Permission update.** Old scopes struck beside new
  scopes, reviewed before the grant takes effect.

> Tip: show both values on modified rows rather than the
> new one alone; the struck original is what makes the
> change reviewable instead of just visible.

## More in Application Data Tables

- [Audit Log Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/audit-log-table)
- [Column Visibility Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/column-visibility-table)
- [Comparison Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/comparison-table)
- [Csv Preview Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/csv-preview-table)
- [Dense Data Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/dense-data-table)
- [Density Toggle Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/density-toggle-table)
- [Editable Cells Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/editable-cells-table)
- [Empty State Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/empty-state-table)
- [Feature Flags Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/feature-flags-table)
- [Grouped Columns Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/grouped-columns-table)
- [Grouped Rows Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/grouped-rows-table)
- [Heatmap Cells Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/heatmap-cells-table)
- [Inline Edit Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/inline-edit-table)
- [Invoices Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/invoices-table)
- [Multi Select Toolbar Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/multi-select-toolbar-table)
- [Nested Detail Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/nested-detail-table)
- [Paginated Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/paginated-table)
- [Pinned Columns Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/pinned-columns-table)
- [Row Actions Menu Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/row-actions-menu-blueprint)
- [Search Highlight Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/search-highlight-table)
- [Selectable Bulk Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/selectable-bulk-table)
- [Sortable Header Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sortable-header-table)
- [Sparkline Metrics Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sparkline-metrics-table)
- [Status Summary Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/status-summary-table)
- [Sticky Footer Totals Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sticky-footer-totals-table)
- [Sticky Header Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sticky-header-table)
- [Table With Expandable Rows](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/table-with-expandable-rows)
- [Table With Filters](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/table-with-filters)
- [Timeline Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/timeline-table)
- [Tree Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/tree-table)
- [Users Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/users-table)
