← ui-lab

Tree Grid

A file-browser details view: hierarchical rows with columns. Arrow Up/Down move through the visible rows; ArrowRight expands a parent then steps into its first child; ArrowLeft collapses or steps out to the parent. Each row reports its depth (aria-level).

Preview

Name
Size
Kind
Documents
Folder
Report.pdf
2 MB
PDF

Installation

npx shadcn@latest add https://ui.publictheta.com/r/tree-grid.json

Conformance

This component conforms to the @publictheta/ui-spec tree-grid specification. Run the suite against any implementation with pnpm conformance.