openblocks14 files
components/tree-view

Tree View

A collapsible file tree with drawn indent guides, chevrons and per-extension colours.

Usageimport { TreeView } from "./TreeView";
1import { TreeView } from "./TreeView";
2 
3<TreeView />

Copy the source with the toolbar’s copy button — or open the Code pane to select it by hand — then paste the file into your project. It is self-contained, with no registry metadata and no dependencies.

Props

PropTypeDefault
sizesm | mdsm
defaultOpenbooleantrue