DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Categories
Base8
AdvancedNew Advanced category with 3 Data Grid blocks3
  • Ad Campaign Performance
  • Regional Store P&L
  • Campaign Target Review
Columns5
Drag & Drop4
Editing6
Expansion3
Filtering4
Grouping7
Virtualization2

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.

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 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

  • Rows live in a client store hook whose create, update, setStatus and remove each return an undo; back them with your API
  • Search, filters and sort run in the browser over every row, and manualSorting keeps TanStack from sorting again; move that query to your API at scale
  • Each page.tsx wraps DataGridView in a min-h-svh main with padding and a max width; drop that wrapper inside an app shell
Markdownhttps://reui.io/blocks/data-grid/advanced.md
MCPsearch({ query: "advanced", type: "block", category: "advanced" })
Full index for agents:llms.txtReUI MCP setup

Shadcn Data Grid Blocks with In-Cell Charts and KPI Rollups

A report stops being readable when every column is a bare number. The campaign grid draws the shape beside the value: a 30-day conversions sparkline whose end dot marks today, a ROAS bullet bar with a tick at each campaign's target on one shared axis, and a new buyer share bar. Every chart column still sorts, and a campaign with no prior period sorts below every decline.

Above the grid a KPI band rolls up the rows in view, so spend, CPA, ROAS and the count below target follow the search and the ReUI Filters builder. Create, edit, pause, duplicate and delete each come with an Undo that restores only the rows it touched, and a floating Sheet opens a campaign in Overview, Performance and Audience tabs.

A store P&L reads by place before it reads by row. The store grid turns its flat list into a tree of Global, market, sub-region and state, each place rolling up net sales, profit and plan attainment, with a depth control that opens it to markets, sub-regions or every store. Region cards filter the rows, a Profit vs FY25 header spans loss and gain bars, and a floating Sheet steps through stores across 3 tabs.

A target review reads in the gap, not the total. The campaign target grid sets each ROAS and CPA actual beside its target and a vs Target bar that fills one half for a miss and the other for a beat, 0 on the line between. Rows merge into channel bands, a filter row under the headers gives each column a text field, a select or a Slider range, and a floating Sheet steps through campaigns with J and K across 5 tabs.

All Advanced Blocks

Open any block on its own page for 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
  • Campaign Target Review Campaign target grid with diverging ROAS and CPA bars, channel-grouped rows and a column filter row

What the Advanced blocks cover

Data Grid screens, each a full block with fixture data:

  • Campaign performance grid with in-cell sparklines, ROAS bullet charts and new buyer share bars
  • Store P&L grid with a geography tree, plan attainment bars and profit vs FY25 loss and gain cells
  • Campaign target grid with diverging ROAS and CPA bars, channel-grouped rows and a column filter row

Built from

  • shadcn/ui components Chart, Sheet, Tabs, Slider, Toggle Group, Alert Dialog, Popover, the same components your project already owns.
  • Both twins, every style Each block ships on Base UI and on Radix, in 8 design styles, and names every part it composes on its page.

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

Do in-cell charts slow the grid down?

Not on a paginated page of 10, 25 or 50 rows. The campaign grid's sparkline, bullet and share charts are memoized on their row and drawn in a fixed box with no animation, tooltip or focus stop, and the target and store grids' bars are plain elements drawn without a chart library. The store grid's tree view shows its 28 stores and 60 places on one page.

Does the KPI band follow the filters?

In the campaign performance grid and the store P&L grid, yes. The campaign band rolls up the rows in view, so search and every filter change the totals, and its change figures compare only campaigns that also ran in the prior 30 days. The store grid's region cards roll up the stores the search and column filters keep, and pressing a card filters the grid to that region.

Can I undo an edit or a delete?

Yes. Every write returns an undo that restores only the records it touched, so a later edit is never overwritten, and the toast keeps its Undo button for 8 seconds. Rows created or edited in the session stay tinted in the grid.

How do I install an Advanced block?

Open the block on its page, copy the install command (the shadcn CLI with the @reui registry and your license key) or the AI prompt, and run it in your project. The block, its fixtures and every ReUI and shadcn dependency land in one command.

Is a license needed?

Advanced blocks are part of ReUI Pro: one payment, lifetime updates, every block in every style. The ReUI primitives and the free examples they build on install with no license.

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K
  1. Blocks
  2. Data Grid
  3. Advanced
DocsMarkdown

Shadcn Data Grid Blocks with In-Cell Charts and KPI Rollups

3 analytics grids on the ReUI Data Grid that draw compact charts in the cells where a number alone hides the story, with every record editable from the grid.