Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsData display

Tree table

A hierarchical treegrid with expandable rows, indent guides, parent aggregates, spent-of-budget progress bars with over-budget flags, expand and collapse all, per-level sorting and a selected row.

Preview

10 of 16 rows shown
Engineering2
$90,000$81,1505
Platform3
$66,000$58,7503
Cloud hosting
$48,000$41,2001
Observability, selected
$12,000+14% over budget$13,6501
Build minutes
$6,000$3,9001
Product teams2
$24,000$22,4002
Design2
$21,200$16,0002
Operations2
$51,000$22,1003
People2
$40,000$9,6002
Legal review
$11,000+14% over budget$12,5001
Total$162,200$119,25010

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
data{ id: string; name: string; values?: Record<string, number>; children?: TreeRow[] }[]—Rows; leaves carry values, parents aggregate them.
columns{ key: string; label: string; aggregate?: "sum" | "count" | "max"; format?; bar?: boolean; barOf?: string }[]—Value columns. barOf draws progress against another column of the same row (e.g. spent ÷ budget, over 100% tinted danger with a +N% chip); bar draws share of the largest sibling.
nameLabelstring"Name"Header of the tree column.
defaultExpandedstring[] | "all"[]Rows open on first render.
selectedstring | null—Controlled selected row id.
defaultSelectedstring | nullnullUncontrolled selected row.
onSelectedChange(id: string) => void—Called on click, Enter or Space.
defaultSort{ key: string; dir: "asc" | "desc" } | nullnullInitial sort; "name" sorts the tree column.
labelstring"Tree table"Accessible name of the treegrid.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗