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: Customer accounts with balances against the prior statement, reversal notes, a tabbed view sheet and full CRUD with Undo
When to use
- A whole table section: a title, a create button, filter controls, the rows and pagination
- Customer, contact and deal tables for a sales team, with a row menu, pinned rows or a rule filter bar
- Operations tables for support tickets, weekly timesheets, team members, project modules or SKU prices
When not to use
- Companies to prospect, with intent signals, owners and saved lists: use the Prospect Database block
- A bare table for your own columns and rows, without a title bar, toolbar or demo rows: use the Data Grid component
- Thousands of rows in one scrolling list that loads more as the reader nears the end: use the Virtualization blocks
- A payments ledger, a renewals queue or an automation library led by a rule filter bar: use the Filtering blocks
Agent notes
- Replace
CUSTOMERSand the fixed demo clockTODAYandNOWin data.tsx;COMPANY_LOGOSmaps a company name to its mark useCustomerStorechanges only React state; sendcreateCustomer,updateCustomer,setStatusandremoveCustomersto your API and keep eachundobalanceTrendin format.ts derives the change frompreviousBalance;downloadCustomersCsvin customer-export.ts builds the CSV- Each page.tsx wraps the table in a centered
min-h-svhmain under an sr-onlyh1; drop that wrapper and keep a singleh1once it sits in your page - Each block filters and pages its data.tsx rows in the browser with
paginationin local state; move both to your API before the row count grows large
Third-party API docs
- TanStack Table v9: API reference, docs
- Sonner v2: API reference, docs
https://reui.io/blocks/data-grid/base/data-grid-base-1.mdget_block("data-grid-base-1")npx shadcn@latest add @reui/data-grid-base-1Shadcn Components in the Customer Balances Block
Dependencies
- @tanstack/react-table
- cn
- sonner
Shadcn Customer Balances Block
Customer balances data grid with CRUD sheets, balance trends and bulk actions. Part of the ReUI Shadcn Data Grid Base blocks collection.
Customer CRM table: search, status filter, avatar rows, balance trends with reversal tooltips, a tabbed view sheet, add and edit form sheets, delete with Undo, bulk status and CSV export. ReUI DataGrid, Frame, Badge, Cascader.
It is composed from Alert Dialog, Avatar, Badge, Button, Cascader, Data Grid, Dropdown Menu, Empty, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Customer Balances 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 Base blocks to assemble a full screen instead of a single section.
All Shadcn Data Grid Base 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.
- Lead Scoring Contacts CRM contacts data grid with lead score bars, weekly engagement trends, pinned rows and CRUD sheets
- Deal Pipeline CRM sales opportunities data grid with pinned priority rows and faceted pipeline filters
- Weekly Timesheet Weekly team timesheet data grid with per-day hours and billable target tracking
- Support Tickets Support ticket queue data grid with SLA countdown, status filters, and bulk owner assignment
- Team Members Members data grid with avatar rows, tabbed role and billing filters, and hover actions
- Project Modules Modules data grid with circular progress rings, status badges, and row actions
- Cloud Rate Card Cloud SKU rate card data grid with stacked discounts, commit usage bars, and price breakdowns
Related Shadcn Data Grid Block Categories
- Advanced (14) Analytics grids with in-cell charts, KPI rollups, a tree view and an SLO chart, plus a review queue, a stock mix sheet, a pro forma and a visit planner.
- 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 (305) Browse 305 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (53) Browse 53 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (83) Browse 83 Shadcn Solutions blocks across 13 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 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 Customer Balances block?
Use it for customer accounts with balances against the prior statement, reversal notes, a tabbed view sheet and full CRUD with Undo.
The Base category fits:
- A whole table section: a title, a create button, filter controls, the rows and pagination
- Customer, contact and deal tables for a sales team, with a row menu, pinned rows or a rule filter bar
- Operations tables for support tickets, weekly timesheets, team members, project modules or SKU prices
For companies to prospect, with intent signals, owners and saved lists, use the Prospect Database block. For a bare table for your own columns and rows, without a title bar, toolbar or demo rows, use the Data Grid component. For thousands of rows in one scrolling list that loads more as the reader nears the end, use the Virtualization blocks. For a payments ledger, a renewals queue or an automation library led by a rule filter bar, use the Filtering blocks.
What is the Customer Balances block built with?
Can I restyle the Customer Balances block?
How should I use Shadcn base 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.