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.Multi-Selection
Set
SelectionMode="TreeSelectionMode.Multiple" to allow selecting multiple nodes. Bind with @bind-SelectedValues to track selected items as a HashSet<string>.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.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.Connector Lines
Set
ShowLines="true" to render connector lines between parent and child nodes. Useful for visualizing organizational hierarchies.Disabled Nodes
Set
Disabled="true" on a BbTreeItem to prevent selection and interaction. Disabled nodes appear dimmed and are skipped during keyboard navigation.Anatomy
Loading example…