Skip to content

Tree

Open “Tree & validation” in a new tab ↗

.tree + [data-tree] with nested .tree-item > .tree-row (and a .tree-children list for branches). Full keyboard navigation:

KeyAction
/ move between visible rows
expand (or move into children)
collapse (or move to parent)
Enteractivate the row

Use aria-expanded on each branch .tree-item; leaf rows use .tw.leaf for alignment.