# Table Pivot Basic

Sales pivot table grouped by category and region for profitability analysis.

- id: `table-pivot-basic`
- Page: https://agentic-ui-kit.com/components/table-pivot-basic
- Live preview: https://agentic-ui-kit.com/live/component/table-pivot-basic

## Install

```bash
agentic-ui add table-pivot-basic
npx shadcn@4.17.0 add @agentic-ui/table-pivot-basic
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** column-grouping, drag-and-drop-grouping, multi-level-hierarchy, group-aggregations, expand-collapse-tree, column-sorting, text-search-filter, keyboard-reorder, grand-total-summary, responsive-scroll, empty-state-fallback, error-state-fallback, dark-mode
- **Intents:** compare-over-time, manage-collection, show-composition, explore-detail
- **Suits domains:** saas, finance, analytics, operations, ecommerce
- **Interaction:** drag, click, keyboard-navigation, sort
- **Screen role:** management
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** sales pivot table grouped by category and region for profitability analysis, operations matrix with cost and revenue aggregation by channel and quarter, analytical breakdown of units sold and percentage margins by product segment, SaaS metrics explorer with grand totals and an expandable multi-level hierarchy
- **Avoid when:** simple flat lists with fewer than 5 records and no grouping dimensions, data entry forms or step-by-step wizards
- **Preserve when adapting:** group-tree-model, aggregation-pipeline, dropzone-interaction-model, expand-collapse-state-handling
- **Replace when adapting:** column-definitions, data-records, custom-formatters, domain-copy
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** table, button, badge
- **npm dependencies:** lucide-react
- **npm dependencies (registry):** clsx@^2.1.1, lucide-react@0.577.0, tailwind-merge@3.5.0
