Components
Tree View
Interactive tree view with expand/collapse, search/filter, and virtualization for navigating hierarchical data
Demo
Click the terminal below. Use arrow keys or j/k to navigate, space to toggle folders, / to search.
Features
- Box-drawing tree guides using
├──,└──, and│characters for clear hierarchy - Expand/collapse individual folders or all at once
- Search and filter with
/to find nodes by name, showing matching nodes and their ancestor paths - Virtualized scrolling renders only visible rows for large trees
- File type icons colored by extension (
.tsx/.jsx,.ts/.js,.json,.md) - Path display shows full path of the currently selected node
- Vim-style navigation with
h/j/k/land arrow key support
Keybindings
j/kor↑/↓move cursor up/downl/→/enterexpand folderh/←collapse folder or move to parentspacetoggle expand/collapseeexpand all nodesccollapse all nodes/enter search modeescexit search mode