Version v3 Documentation
You are viewing documentation for an older version.
View latest (v4) documentation →
Tree View
A headless tree view primitive with hierarchical data display, keyboard navigation, ARIA attributes, single/multiple selection, tri-state checkboxes with parent/child cascade, and expand/collapse state management.
File Explorer
A realistic file tree with
Icon per node, DefaultExpandDepth="1" to auto-expand the first level, and ExpandOnClick so clicking a folder toggles it.
Loading example…
Multi-Selection
Set
SelectionMode="TreeSelectionMode.Multiple" to allow selecting multiple nodes. Bind with @bind-SelectedValues to track selected items as a HashSet<string>.
Loading example…
Checkboxes
Set
Checkable="true" to enable tri-state checkboxes. Parent nodes automatically reflect child check state with indeterminate support. Set CheckStrictly="true" to disable cascade.
Loading example…
Search & Filter
Set
ShowSearch="true" with data-driven mode (Items, TextField, ValueField, ChildrenProperty) for built-in filtering. Matching nodes and their ancestors are shown while typing.
Loading example…
Connector Lines
Set
ShowLines="true" to render connector lines between parent and child nodes. Useful for visualizing organizational hierarchies.
Loading example…
Disabled Nodes
Set
Disabled="true" on a BbTreeItem to prevent selection and interaction. Disabled nodes appear dimmed and are skipped during keyboard navigation.
Loading example…
Anatomy
Loading example…