headless-tree
lukasbach/headless-tree · Public GitHub repository
The definitive tree component for the Web
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
Super-easy integration of complex tree components into React. Supports ordered and unordered drag-and-drop, extensive keybindings, search, renaming and more. Fully customizable and accessible. Headless Tree is the official successor for react-complex-tree.
It aims to bring the many features of complex tree views, like multi-select, drag-and-drop, keyboard navigation, tree search, renaming and more, while being unopinionated about the styling and rendering of the tree itself. Accessibility is ensured by default, and the integration is extremely simple and flexible.
The interface gives you a flat list of tree nodes that you can easily render yourself, which keeps the complexity of the code low and allows you to customize the tree to your needs. This flat structure also allows you to virtualize the tree with any virtualization library you want. The library automatically provides the necessary aria tags to emulate a nested tree structure, so that accessibility requirements are met despite the flat structure.
- Simple Interface: Easy integration in React with full customizability of DOM
- Drag and Drop: Powerful ordered drag-and-drop, that can interact with external drag events
- Scalable: Headless Tree remains performant even with large trees
- Virtualization Support: Compatible with common virtualization library to support 100k+ items
- Hotkeys!: Lots of hotkeys, fully customizable
Requirements and intended audience
Super-easy integration of complex tree components into React. Supports ordered and unordered drag-and-drop, extensive keybindings, search, renaming and more. Fully customizable and accessible. Headless Tree is the official successor for react-complex-tree.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-11-05. Source: https://github.com/lukasbach/headless-tree/blob/main/readme.md
Recorded maintenance information
Last recorded source update: 2026-10-25. Saved release: @headless-tree/react@1.7.0 · 2026-05-17. These dates do not guarantee ongoing maintenance.
- Technologies
- React
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-20. This does not test every feature.
Browse related categories
More projects to explore
iptv
iptv-org/iptv
Collection of publicly available IPTV channels from all over the world
HowToLiveBetter
eternity4719/HowToLiveBetter
高性价比人生指南: 长寿防病、急救、省钱理财、法律红线、失业与工伤、医保社保、恋爱婚育、怀孕育儿、创业与做平台合规、出国与技能。每条写明成本、收益、证据等级和原始出处,只引期刊论文与官方文件。
OpenManus
FoundationAgents/OpenManus
No fortress, purely open ground. OpenManus is Coming.
JavaScript30
wesbos/JavaScript30
30 Day Vanilla JS Challenge