File Tree
The files an agent read or changed. One tab stop; the arrow keys move, open and close, Home and End jump, Enter selects, and typing a letter jumps to a name.
Source
components/file-tree.tsx- src
- app
- components
- badge.tsx
- button.tsx
- card.tsx
- index.ts
- tests
- package.json
- README.md
Selected: src/components/button.tsx
Usage
When to use
Use when
The files an agent read or changed, nested by folder. A WAI-ARIA tree: one tab stop, arrow keys, type-ahead; name it with aria-label
Don’t use when
A flat list of changed files (use Item); site navigation (use Sidebar)