Treeview

Hierarchical tree components for displaying nested data structures, file explorers, and organizational content.

Basic Treeview

Hierarchical tree structure with expand/collapse functionality.

Documents
Work
Personal
Photos
Music
Shared

Treeview with Checkboxes

Tree nodes with checkbox selection. Parent checkboxes reflect child state (checked, unchecked, indeterminate).

Documents
Work
Projects
Reports
Personal
Photos
Music
Shared

Treeview with Icons

Different node types display distinct colored icons: folder (yellow), file (blue), image (green), music (purple), video (red), code (orange).

My Project
src
App.tsx
index.tsx
styles.css
assets
logo.png
banner.jpg
bg-music.mp3
intro.mp4
README.md
package.json

Selectable Treeview

Click any node to select it with an accent highlight. Single-select mode with selected node displayed below.

Documents
Work
Personal
Photos
Music
Shared

Draggable Treeview

Drag handle (grip dots) appears on hover for each node. Visual demo of reorderable tree nodes.

Documents
Work
Projects
Reports
Personal
Photos
Music
Shared

File Explorer

Realistic file explorer with folder hierarchy, file type icons, and file size indicators.

root/
src/
components/
pages/
utils/
app.tsx2.4 KB
index.tsx1.1 KB
public/
images/
favicon.ico4.2 KB
package.json1.8 KB
tsconfig.json0.6 KB
.gitignore0.3 KB

Connected Lines Treeview

Traditional tree diagram with visible connecting lines between parent and child nodes using CSS borders.

Documents
Work
Personal
Photos
Music
Rock
Jazz
Classical
Shared

Search Treeview

Filter and highlight matching nodes with a search input. Non-matching nodes are dimmed, and parent nodes auto-expand when they contain matches.

Documents
Work
Projects
Reports
Personal
Photos
Music
Shared