Skip to content

Vibe coding a plugin? 😎 Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

TreeItem

One item of Ui.tree.

optional children?: readonly TreeItem[]

The items it folds.


id: string

Identifies the item among all items of the tree.


optional label?: string

The item’s text; its id by default.


optional open?: boolean

Whether the item starts unfolded; the tree remembers what the user folds afterward.