Tree

A hierarchical, expandable tree view (ARIA tree). Click to select/expand; keyboard: ↑/↓ move, →/← expand/collapse, Enter/Space select. Shared variant/size axes.

File explorer

Selected: —

  • src
  • lib
  • index.ts
  • app.css
  • package.json
  • README.md

Lazy children · right-click · separate select/expand

Folders declare hasChildren so they show a chevron before loading; expanding one calls loadChildren (spinner row, then an error row — D: fails on purpose). expandOnSelect=false keeps selecting separate from expanding — click a row to select, use the chevron or →/← to expand. Right-click a row to see oncontextmenu(event, node, key).

Selected: —