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 view

A file and folder tree with animated expand, the full WAI-ARIA tree keyboard, single or checkbox selection with mixed parents, icons by type, guide lines, lazy loading and inline rename.

Preview

Explorer

F2 renames
  • app
    • layout.tsx2.1 KB
    • page.tsx4.8 KB
    • settings
      • page.tsx3.2 KB
      • billing.tsx6.0 KB
  • public
  • docs
  • package.json1.1 KB
  • tsconfig.json0.6 KB

Export

3 files
  • Brand kit
    • mark-light.svg12 KB
    • mark-dark.svg12 KB
    • palette.json2 KB
  • Screens
    • home.png840 KB
    • pricing.png612 KB
    • legacy.png1.2 MB
  • handoff-notes.md6 KB

Install

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

Props

PropTypeDefaultDescription
dataTreeNode[]—{ id, name, children?, lazy?, icon?, meta?, disabled? }. Icons default by file extension.
labelstring—Accessible name of the tree.
expanded / defaultExpandedstring[][]Open folder ids.
onExpandedChange(ids: string[]) => void—Called when folders open or close.
selectionMode"single" | "multiple""single"Multiple shows checkboxes with mixed parents.
selected / defaultSelectedstring[][]Selected ids (leaf ids in multiple mode).
onSelectedChange(ids: string[]) => void—Called when the selection changes.
loadChildren(node) => Promise<TreeNode[]>—Loads a lazy folder's children on first open; shows a spinner meanwhile.
onRename(id, name) => void—Enables inline rename with F2 or double-click.
onActivate(node) => void—Enter or double-click on a leaf.
guidesbooleantrueDraw indent guide lines.

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 ↗