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

> The TreeViewKey type of @salmonui/navigation/tree-view: An item id (getItemId).

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

```ts
import type { TreeViewKey } 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: type

```ts
type TreeViewKey = string | number;
```

An item id (`getItemId`).
