10 Best Vanilla JavaScript Tree Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

d3-hierarchy

2D layout algorithms for visualizing hierarchical data.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
722
Weekly Downloads
2M
Last Commit
4mos ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
org

orgchart

It's a simple and direct organization chart plugin. Anytime you want a tree-like chart, you can turn to OrgChart.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
1Performant
GitHub Stars
2K
Weekly Downloads
16K
Last Commit
8mos ago
Bundle Size (min+gzip)
38.6KB
Not Tree-Shakeable
tre

treantjs

Treant.js - javascript library for drawing tree diagrams

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
2
Top Feedback
N/A
GitHub Stars
754
Weekly Downloads
198
Last Commit
6mos ago
Bundle Size (min+gzip)
6.96KB
Not Tree-Shakeable

@syncfusion/ej2-navigations

Syncfusion JavaScript UI controls library offer more than 50+ cross-browser, responsive, and lightweight HTML5 UI controls for building modern web applications.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
274
Weekly Downloads
55K
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@syncfusion/ej2-treemap

Syncfusion JavaScript UI controls library offer more than 50+ cross-browser, responsive, and lightweight HTML5 UI controls for building modern web applications.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
274
Weekly Downloads
4K
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
rbu

rbush

RBush — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
484K
Last Commit
2mos ago
Bundle Size (min+gzip)
2.37KB
Tree-Shakeable
bao

baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
4K
Last Commit
9mos ago
Bundle Size (min+gzip)
9.51KB
Not Tree-Shakeable
et

@syncfusion/ej2-treegrid

Essential JS 2 TreeGrid Component

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
10K
Last Commit
N/A
Bundle Size (min+gzip)
N/A
Tree-Shakeable

inspire-tree

Inspired Javascript Tree

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
412
Weekly Downloads
3K
Last Commit
16d ago
Bundle Size (min+gzip)
37.7KB
Not Tree-Shakeable
itv

ionic-tree-view

This library is used to generate a treeview from an object list, you will find an example of a list below:

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
14
Weekly Downloads
17
Last Commit
6mos ago
Bundle Size (min+gzip)
3.35KB
Tree-Shakeable

kd-tree-javascript

JavaScript k-d Tree Implementation

License Icon
License: UNLICENSED
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
545
Weekly Downloads
2K
Last Commit
2yrs ago
Bundle Size (min+gzip)
1.55KB
Not Tree-Shakeable
bos

bosket

Collection of tree view components for front-end frameworks. 🌳

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
454
Weekly Downloads
478
Last Commit
3yrs ago
Bundle Size (min+gzip)
13.8KB
Not Tree-Shakeable
bj

buckets-js

A complete, fully tested and documented data structure library written in pure JavaScript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
250
Last Commit
1yr ago
Bundle Size (min+gzip)
3.68KB
Not Tree-Shakeable
rdt

react-decision-tree-flow

A declarative decision tree / wizard for React and React-Native

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
33
Weekly Downloads
232
Last Commit
1yr ago
Bundle Size (min+gzip)
1.01KB
Tree-Shakeable
jso

jsontreejs

A lightweight vanilla Javascript micro-library for making collapsible trees with JSON

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
171
Weekly Downloads
14
Last Commit
4yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
tre

treed

Powerful Tree Editor

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
2
Last Commit
3yrs ago
Bundle Size (min+gzip)
0.13KB
Not Tree-Shakeable