G GlassUI

TreeView

A hierarchical list of items, supporting nested folders, icons, and cascading selection.

Playground

Explore all treeview props interactively.

Props

Hierarchical array of data to render.

Bound array of selected item IDs.

Bound array of expanded folder IDs.

Whether checkboxes are rendered.

Whether checking a folder automatically checks all its children.

Theme color for checkboxes and active text

Glass surface density

Backdrop blur intensity

Elevated with shadow

Cascading Selection

Bind to the `selected` prop to track checked files. When `autoSelectChildren` is true, selecting a folder automatically selects its descendants, and partial selections result in an indeterminate dash state.

  • package.json
  • README.md

Selected Node IDs:

3 7