react-treeview alternatives and similar libraries
Based on the "Tree" category.
Alternatively, view react-treeview alternatives based on common mentions on social networks and blogs.
React Tree View Component. Data-Driven, Fast, Efficient and Customisable.
Do you think we are missing an alternative of react-treeview or a related project?
Easy, light, flexible treeview made with React.
npm install react-treeview
bower install react-treeview
The CSS file:
<link rel="stylesheet" type="text/css" href="path/to/react-treeview.css">
The component accepts these props.
collapsed: whether the node is collapsed or not.
defaultCollapsed: the uncontrolled equivalent to
nodeLabel: the component or string (or anything renderable) that's displayed beside the TreeView arrow.
itemClassName: the class name of the
treeViewClassName: the class name of the
childrenClassName: the class name of the
TreeViews can be naturally nested.
The extra properties transferred onto the arrow, so all attributes and events naturally work on it.
The CSS is flexible, commented and made to be easily customized. Feel free to inspect the demo's classes and check the short CSS code.
Build It Yourself/Run the Demos
npm install && npm run prerelease
npm install && npm start && open http://localhost:3000
*Note that all licence references and agreements mentioned in the react-treeview README section above are relevant to that project's source code only.