Skip to content

Tree view

Pro

A hierarchy of rows that open and fold, with selection, their own controls and children that load. Not an M3 component (@windmorph/react-pro).

import { TreeView, TreeViewItemContent } from '@windmorph/react-pro';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Playground

Documents
Reports
Notes
Photos

Code

import { TreeView, TreeViewItemContent } from '@windmorph/react-pro'; <TreeView  aria-label="Files"  items={[{ id: 'photos', name: 'Photos' }]}  textValue={(node) => node.name}>  {(node) => <TreeViewItemContent title={node.name} />}</TreeView>

Examples

Selection, with a disabled row

A row's own controls

Children that load