MUI X Tree View
The Tree View lets users navigate hierarchical lists of data with nested levels that can be expanded and collapsed.
Overview
The MUI X Tree View provides all of the functionality necessary to build a hierarchical list of expandable and collapsible items. The Tree View's theming features are designed to be frictionless when integrating with Material UI and other MUI X components, but it can also stand on its own and be customized to meet the needs of any design system.
The Tree View is open-core: The Community version is MIT-licensed and free forever, while more advanced features require a Pro commercial license. See MUI X Licensing for complete details.
The demo below shows how to render a Simple Tree View—try clicking on an item to see how it expands and collapses:
- Data Grid
- Date and Time Pickers
- Charts
- Tree View
Community version (free forever)
import { SimpleTreeView } from '@mui/x-tree-view/SimpleTreeView';
import { RichTreeView } from '@mui/x-tree-view/RichTreeView';
The MIT-licensed Community version of the Tree View covers the most common use cases. Proceed to the Quickstart guide to learn more about the differences between the Simple and Rich Tree View components.
Pro version
import { RichTreeViewPro } from '@mui/x-tree-view-pro/RichTreeViewPro';
The Pro version of the Rich Tree View expands on the Community version by providing drag-and-drop reordering functionality in addition to all other features. Pro features are denoted by the blue cube icon () throughout the documentation.