X Tree View
@mui/x-tree-view
The community edition of the MUI X Tree View components.
Component Libraries
react
react-component
mui
mui-x
material-ui
material design
treeview
@mui/x-tree-view
Component Libraries
javascript
Stars
337
Weekly
1.0M
Open issues
4
Bundle
~25 kB
Installation
npm install @mui/x-tree-viewCode example
import Button from "@mui/material/Button";
import Stack from "@mui/material/Stack";
export function Example() {
return (
<Stack direction="row" spacing={2}>
<Button variant="contained">Primary</Button>
<Button variant="outlined">Secondary</Button>
</Stack>
);
}Pros & cons
Pros
- Actively maintained by MUI Team
- 1.0M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 4 open issues on GitHub