🌐
MUI
mui.com › x › react-tree-view
Tree View React component - MUI X
The Tree View components let users navigate hierarchical lists of data with nested levels that can be expanded and collapsed.
🌐
Reddit
reddit.com › r/reactjs › i built a lightweight react tree view library — lazy loading, drag & drop, keyboard navigation
r/reactjs on Reddit: I built a lightweight React tree view library — lazy loading, drag & drop, keyboard navigation
1 month ago -

I needed a tree view for a side project and couldn't find one that handled lazy loading well without dragging in a bunch of dependencies. So I ended up building my own.

lazy-tree-view is a lightweight React component (~7.5 kB gzipped, zero dependencies) for rendering hierarchical data where children load on demand — file explorers, org charts, nested menus, that kind of thing.

It supports:

  • Lazy loading with built-in loading/error states and automatic retry

  • Drag & drop reordering with drop validation

  • Full keyboard navigation (WAI-ARIA compliant)

  • Imperative API via ref for controlling the tree from outside

  • Custom renderers for branches and items

  • TypeScript first-class support

📦 npm: npmjs.com/package/lazy-tree-view

💻 GitHub: github.com/javierOrtega95/lazy-tree-view

🔗 Interactive demos: javierortega95.github.io/lazy-tree-view

Would love feedback if anyone gives it a try.

Discussions

Tree View in React
We have found that the mui tree rerenders every single time and causes extreme issues with around 1k+ objects. We have some fuzzy logic to stop it from rerendering 1k+ times. Some reported issues, https://github.com/mui/material-ui/issues/27403 More on reddit.com
🌐 r/reactjs
8
14
March 6, 2023
I built a lightweight React tree view library — lazy loading, drag & drop, keyboard navigation
This is probably the best project I've seen on here in months. Great job. More on reddit.com
🌐 r/reactjs
4
8
1 month ago
Creating a tree hierarchy similar to vscode sidebar
I'll also throw in this library that I wrote which was mostly motivated by the vscode tree view: https://github.com/lukasbach/react-complex-tree More on reddit.com
🌐 r/reactjs
6
2
September 25, 2022
Best React Tree (Nested + Sortable + Drag & drop)
https://www.npmjs.com/package/react-arborist how about this one More on reddit.com
🌐 r/reactjs
11
25
July 24, 2019
🌐
Primer
primer.style › react › TreeView
TreeView | Primer React
A hierarchical list of items where nested items can be expanded and collapsed.
🌐
GeeksforGeeks
geeksforgeeks.org › reactjs › tree-view-component-in-reactjs
Tree View Component in React JS - GeeksforGeeks
July 23, 2025 - Example: We’ll create a small tree view like the one in the GeeksforGeeks website sidebar. Create a new file trees.js in the src folder where we’ll define our component. ... //App.js import React, { Component } from 'react'; import CssBaseline from '@material-ui/core/CssBaseline'; import Container from '@material-ui/core/Container'; import Typography from '@material-ui/core/Typography'; import Trees from './trees'; class GFG extends Component { render() { return ( <React.Fragment> <CssBaseline /> <Trees></Trees> <br></br> <Container maxWidth="sm"> <Typography component="h1" variant="h1" align="center" gutterBottom> Geeks for Geeks </Typography> <br /> <Typography component="h3" variant="h3" align="center" gutterBottom> TreeView Component </Typography> </Container> </React.Fragment> ); } } export default GFG;
🌐
Carbondesignsystem
react.carbondesignsystem.com
Carbon Components React
This is the React implementation of the Carbon Design System. Carbon is a series of individual styles and components, that when combined make beautiful, intuitive designs.
🌐
Telerik
telerik.com › components › overview
React TreeView Overview - KendoReact
2 weeks ago - The KendoReact TreeView displays ... operations by using the drag-and-drop functionality. The React TreeView component is part of the KendoReact library of React UI components....
🌐
GitHub
github.com › brimdata › react-arborist
GitHub - brimdata/react-arborist: The complete tree view component for React · GitHub
The tree view is ubiquitous in software applications. This library provides the React ecosystem with a complete solution to build the equivalent of a VSCode sidebar, Mac Finder, Windows Explorer, or Sketch/Figma layers panel.
Starred by 3.6K users
Forked by 182 users
Languages   TypeScript 97.3% | JavaScript 1.3% | CSS 1.1%
Find elsewhere
🌐
npm
npmjs.com › package › react-treeview
react-treeview - npm
June 26, 2017 - Easy, light, flexible tree view made with React.. Latest version: 0.4.7, last published: 9 years ago. Start using react-treeview in your project by running `npm i react-treeview`. There are 32 other projects in the npm registry using react-treeview.
      » npm install react-treeview
    
Published   Jun 26, 2017
Version   0.4.7
Author   chenglou
🌐
ITNEXT
itnext.io › creating-a-dope-expandable-tree-view-in-react-5b32a36082d4
Creating a Dope Expandable Tree View in React | by Andrew Allison | ITNEXT
February 10, 2023 - I tackled the problem using a combination of the selected and expanded props from the TreeView API. In this example we asynchronously load new children and expand the parent once they are loaded. To be able to hold this data in-memory we also need to use a Graph data structure (the only time a data structure has ever been useful to me outside of an engineering interview).
🌐
Chakra UI
chakra-ui.com › docs › components › tree-view
TreeView | Chakra UI
import { TreeView } from ... </TreeView.Tree> </TreeView.Root> To setup the tree view, you need to use the tree collection to register the tree data....
🌐
GitHub
github.com › baurine › react-tree-view
GitHub - baurine/react-tree-view: A simple React TreeView component with flat data structure · GitHub
treeViewData: [ {key: '1', parentKey: '', kind: 'node', name: 'node 1'}, {key: '2', parentKey: '', kind: 'group', name: 'group 1', expand: false}, {key: '3', parentKey: '', kind: 'node', name: 'node 2'}, {key: '4', parentKey: '', kind: 'group', name: 'group 2', expand: false}, {key: '4_1', parentKey: '4', kind: 'node', name: 'node 3'} ], <TreeView data={treeViewData} rootParentKey='' .../> This project is generated by Microsoft/TypeScript-React-Starter scaffold.
Author   baurine
🌐
Syncfusion
syncfusion.com › react › tree view
React Tree View | Hierarchical Data Model Tree List | Syncfusion
React Tree View displays data in a hierarchical tree structure. It supports data binding, load on demand, tree check box, drag and drop, templates, and more.
Published   November 18, 2025
🌐
Infragistics
infragistics.com › products › ignite-ui-react › react › components › grids › tree
React Tree Component | Infragistics
Ignite UI for React Tree, also known as TreeView component, is a high-performance control that visualizes expandable data structures within a tree-like UI, enabling you to apply load on demand for child items.
🌐
GitHub
github.com › fosco › react-expandable-treeview
GitHub - fosco/react-expandable-treeview: A simple and fully customizable tree view React component
A simple and fully customizable tree view React component - fosco/react-expandable-treeview
Starred by 2 users
Forked by 5 users
Languages   JavaScript 98.0% | HTML 2.0% | JavaScript 98.0% | HTML 2.0%
🌐
Reddit
reddit.com › r/reactjs › tree view in react
r/reactjs on Reddit: Tree View in React
March 6, 2023 -

Hi,

I have built Tree in React using Material UI Tree View component (https://mui.com/material-ui/react-tree-view/). It works correctly, but when I have about 700+ Tree Items in View, there is a serious performance issue. Whole UI starts to be very slow... I read that Material UI Tree View doesn't support virtualization, so I tried to combine it with some other virtualization libraries, but with no success. Has anyone been in a similar situation, and how did you resolved it? Which virtualization library can work with Tree View?

Thanks in advance

🌐
DEV Community
dev.to › tobidelly › building-a-simple-tree-view-component-in-react-1lln
Building a Simple Tree View Component in React - DEV Community
September 3, 2024 - State Management: Using React's useState hook to manage UI state, such as the expand/collapse functionality. Conditional Rendering: Rendering elements based on certain conditions, enhancing interactivity. Modular Design: Breaking down the UI into reusable and maintainable components. Styling: Applying consistent and responsive styles to improve user experience. This project demonstrates how to construct a functional and interactive Tree View from scratch, providing a solid foundation for more complex implementations.
🌐
npm
npmjs.com › package › react-d3-tree
react-d3-tree - npm
February 28, 2025 - React component to create interactive D3 tree hierarchies. Latest version: 3.6.6, last published: a year ago. Start using react-d3-tree in your project by running `npm i react-d3-tree`. There are 50 other projects in the npm registry using react-d3-tree.
      » npm install react-d3-tree
    
Published   Feb 28, 2025
Version   3.6.6
Author   Ben Kremer