Core Elements
File Tree
A collapsible, indented tree of folders and files.
Usage
Installation
npx wunderui-cli add file-treeWrites the source into your project with its dependencies and, on first use, the styles — see Installation.
Then import what you need:
import { FileTree, FileTreeNode } from "@/components/wunderui/file-tree"Examples
File Tree
Folders that open and close to show what’s inside.
In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Code explorer
The tree beside an open file, as in an editor or a repository view.