For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: Campaigns judged on ROAS and CPA against their own targets, with funnel stage tabs, verdict chips, a target change history and CSV export
When to use
- Reporting tables whose rows carry in-cell bars, sparklines or heat cells beside the figures
- Performance reviews that weigh each record against a target, a plan or a prior period
- Record lists with create, edit, bulk delete and undo, where each row opens a tabbed detail sheet
When not to use
- A column set that grows on demand from a drill-down picker of related fields: use the Company Attributes block
- Campaign trends over time drawn as sparklines inside the cells: use the Ad Campaign Performance block
- A rule builder on its own, to narrow a list or table you already have: use the Filters component
- A plain sortable table of text cells, assembled from parts in your own layout: use the Data Grid component
- Values typed into the cells themselves, with validation and a save or discard bar: use the Editing blocks
Agent notes
CAMPAIGNS,TARGET_REVISIONSandOWNERSare sample data; the form and filter pickers also readCHANNEL_ORDERandCOUNTRY_ORDER- A saved target or budget edit appends a
TargetRevisionwithatandbyIdnull, so the Changes tab shows You and Just now DELTA_LIMITsets one 40% scale for the ROAS and CPA bars; a gap past it holds a full half track, so rescale it for your spread- Rows live in a client store hook whose
create,update,setStatusandremoveeach return anundo; back them with your API - Search, filters and sort run in the browser over every row, and
manualSortingkeeps TanStack from sorting again; move that query to your API at scale - Each page.tsx wraps
DataGridViewin amin-h-svhmain with padding and a max width; drop that wrapper inside an app shell
https://reui.io/blocks/data-grid/advanced/data-grid-advanced-3.mdget_block("data-grid-advanced-3")npx shadcn@latest add @reui/data-grid-advanced-3Shadcn Components in the Campaign Target Review Block
Dependencies
- @tanstack/react-table
- cn
- sonner
Shadcn Campaign Target Review Block
Campaign target grid with diverging ROAS and CPA bars, channel-grouped rows and a column filter row. Part of the ReUI Shadcn Data Grid Advanced blocks collection.
Paid media target review for 30 campaigns: ROAS and CPA each show target, tinted actual and a bar splitting misses from beats at one zero line. Verdict chips, range filters, 5-tab sheet, undo. ReUI DataGrid, Cascader; shadcn Sheet, Slider. PPC.
It is composed from Alert, Alert Dialog, Avatar, Badge, Button, Cascader, Code Block, Data Grid, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Campaign Target Review Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Data Grid Advanced blocks to assemble a full screen instead of a single section.
All Shadcn Data Grid Advanced Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Ad Campaign Performance Campaign performance grid with in-cell sparklines, ROAS bullet charts and new buyer share bars
- Regional Store P&L Store P&L grid with a geography tree, plan attainment bars and profit vs FY25 loss and gain cells
Related Shadcn Data Grid Block Categories
- Base (8) Complete table screens with toolbar filters and pagination for CRM, support, team, project, and pricing data.
- Columns (5) Column visibility, pinning, resizing, density, and settings controls.
- Drag & Drop (4) Drag-and-drop row and column reordering with sortable handles.
- Editing (6) Inline create, edit, and delete cells for full CRUD workflows.
- Expansion (3) Expandable parent rows with nested sub-rows and master-detail panels.
- Filtering (4) Search, faceted filters, filter builders, and status tab toolbars.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (301) Browse 301 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (42) Browse 42 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (47) Browse 47 Shadcn Charts blocks across 8 categories.
- Shadcn Solutions Blocks (74) Browse 74 Shadcn Solutions blocks across 10 categories.
- Shadcn AI & Agents Blocks (18) Browse 18 Shadcn AI & Agents blocks across 2 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Campaign Target Review block?
Use it for campaigns judged on ROAS and CPA against their own targets, with funnel stage tabs, verdict chips, a target change history and CSV export.
The Advanced category fits:
- Reporting tables whose rows carry in-cell bars, sparklines or heat cells beside the figures
- Performance reviews that weigh each record against a target, a plan or a prior period
- Record lists with create, edit, bulk delete and undo, where each row opens a tabbed detail sheet
For a column set that grows on demand from a drill-down picker of related fields, use the Company Attributes block. For campaign trends over time drawn as sparklines inside the cells, use the Ad Campaign Performance block. For a rule builder on its own, to narrow a list or table you already have, use the Filters component. For a plain sortable table of text cells, assembled from parts in your own layout, use the Data Grid component. For values typed into the cells themselves, with validation and a save or discard bar, use the Editing blocks.
What is the Campaign Target Review block built with?
Can I restyle the Campaign Target Review block?
How should I use Shadcn advanced blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.