um

Tree view

A nested, collapsible list of things inside other things: files, teams, a documentation sidebar. Nested lists and <details>, so it works with Tab alone and no script.

A file tree

Three levels deep. The current file is aria-current, and every folder on its way is open; the others start shut.

Markup in a leaf

A leaf's block takes markup, a badge here. meta: keeps a short reading whole at the end of the row while the label truncates.

Without guides

guides: false drops the line beside each level. An empty branch says so.