Description
react-vtree is a React component library for rendering large tree structures efficiently. It is built on top of react-window, which renders only the rows that are visible, so long trees stay responsive. It provides two components, FixedSizeTree and VariableSizeTree. Their props are inherited from react-window's list components, including height, width, itemSize, overscanCount, layout and initialScrollOffset, and the tree uses its own implementation for children. The README documents version 3.x and points to a separate branch for version 2.x. The package requires React 18 or later as a peer dependency. You install it with npm, and the README includes usage examples for JavaScript and TypeScript, with a Storybook example and a demo linked from the docs. The README's API lists show the props of each tree component. It is aimed at React developers who need a tree view over large data sets.…
Highlights
- Renders large trees by drawing only visible rows
- FixedSizeTree and VariableSizeTree components
- Props inherited from react-window
- Requires React 18 or later
- TypeScript usage shown in the docs
Ratings & Reviews
No ratings yet
Be the first to rate react-vtree.
People also visit

react-virtualized
React components for efficiently rendering large lists and tabular data

react-window
React components for efficiently rendering large lists and tabular data

react-complex-tree
Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop
react-vtree FAQ
What is react-vtree?
A React component library for rendering large tree structures efficiently, built on react-window.
Which React version does it need?
React 18 or later, as a peer dependency.
What is the difference between the two trees?
FixedSizeTree and VariableSizeTree are the two components. The names indicate fixed and variable row sizes, and the README documents both.
Which version does the README document?
Version 3.x. Version 2.x has its own branch.
Is it open source?
The repository is public on GitHub under the Lodin account.
What are the best react-vtree alternatives?
Popular alternatives to react-vtree include react-virtualized-tree, react-arborist and react-virtualized. See all react-vtree alternatives















