# TreeView (@salmonui/navigation/tree-view)

> The TreeView component of @salmonui/navigation/tree-view: A hierarchical list (WAI-ARIA APG Tree View) over data, virtualized by default. ref receives the TreeViewApi.

Canonical: https://salmonui.dev/docs/reference/navigation/tree-view/TreeView

```ts
import { TreeView } from '@salmonui/navigation/tree-view';
```

Entry index: https://salmonui.dev/docs/reference/navigation/tree-view (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/tree-view.md).

## Reference

Kind: component

```ts
function TreeView<T>(props: TreeViewProps<T>): ReactNode;
```

A hierarchical list (WAI-ARIA APG Tree View) over `data`, virtualized by
default. `ref` receives the TreeViewApi.

Props: [`TreeViewProps`](https://salmonui.dev/docs/reference/navigation/tree-view/TreeViewProps) (its members are the props)
