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 balances with a reversal tooltip for refunds and chargebacks and a trend percent against the prior statement period
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
- Density and column visibility set from a settings popover: use the Course Catalog 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
EMPLOYEES;balanceMetafeeds the balance cell, yetrowShowsBalanceHintshows the trend tooltip only for numeric ids ending in 3 or 8 ActionsCellView Details, Edit and Delete only toast, andsetEmployeesis never called, so a confirmed delete keeps the row- Export CSV, Refresh and View settings in
Toolbar, plus the Add customer button, only fire toasts - 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://web.dev.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 CRM data grid with avatar rows, balance trends, and row actions menu. Part of the ReUI Shadcn Data Grid Base blocks collection.
Customer table for CRM and admin dashboards: search, status filter, avatar rows, balance trend tooltips, sortable resizable columns, pagination, and a row actions menu with delete confirm. ReUI DataGrid, Frame, Badge plus shadcn Avatar, DropdownMenu.
It is composed from Alert Dialog, Avatar, Badge, Button, Checkbox, Data Grid, Dropdown Menu, Frame, 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 scoring, pinned rows, and a faceted filter builder
- 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 (8) 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 (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 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 balances with a reversal tooltip for refunds and chargebacks and a trend percent against the prior statement period.
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 density and column visibility set from a settings popover, use the Course Catalog 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.