Core Elements
File Tree
A collapsible, indented tree of folders and files.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { FileTree, FileTreeNode } from "@wunderui/react"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.
Explorer
src/components/button.tsx
export function Button({ children }) {
return <button className="btn">{children}</button>
}