<treeView> Component
The <treeView>
component displays nested hierarchical data with expandable/collapsible nodes.
<treeView>
component displays nested hierarchical data with expandable/collapsible nodes.π Attributes
Attribute
Type
Required
Description
bind
string
Yes
Path to a nested data array
labelKey
string
No
Field name to display for each node label
childrenKey
string
No
Field name for nested children arrays
β
Allowed Content
Self-closing only.
π‘ Examples
File explorer
π§© AI Interpretation Guidelines
Render tree using recursive component patterns.
Display each nodeβs
labelKey
and usechildrenKey
for nesting.Support expand/collapse interactions for child nodes.
Last updated