useTableRowExpansion — Tree Table
- from @astryx
- by Astryx
A tree table using useTableRowExpansion with inherited columns. Child rows use the same columns as parents, indented by depth. Click the chevron or right-click to expand/collapse.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-use-table-row-expansion-tree-tableRegistry dependencies0
The CLI adds no other registry items with this one.
