Data Table 29 - Grouped rows with subtotalsPro

Budget-versus-actual table grouped by category with collapsible group headers, per-group subtotal rows, variance column, percent-of-budget bars and a grand total footer.

About Data Table 29

Budget-versus-actual table grouped by category with collapsible group headers, per-group subtotal rows, variance column, percent-of-budget bars and a grand total footer.

Data Table 29 is a pro data table block for React, built on shadcn/ui and Tailwind CSS. It ships as 140 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • grouped
  • subtotals
  • budget
  • expenses
  • collapsible
  • finance

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/data-table-29

Dependencies installed automatically: lucide-react.

Uses: button, reveal, table, utils.

Usage

import DataTable29 from "@/components/blocks/data-table-29"

export default function Page() {
  return <DataTable29 />
}

FAQ