@input-kit/tree
Accessible React tree views with keyboard navigation, selection, and virtualization
npm
npm install @input-kit/treeThis package has no automated tests yet. The implementation works and the demo below is live, but there is no suite guarding it. Adding one is the most useful contribution available here — see CONTRIBUTING.
Live demo
Loading demo…
Exports
- TreeNode
- FlatTreeNode
- TreeSelectionMode
- TreeContextValue
- UseTreeOptions
- UseTreeReturn
- TreeProps
- TreeNodeProps
- flattenTree
- getDescendantIds
- getAncestorIds
- buildTree
- getVisibleNodeIds
- useTree
- TreeNodeComponent
- Tree
- VirtualTree
- TreeItem