2020-02-26 17:03:53 +08:00
+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "NavModel"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## NavModel interface
2020-04-21 16:41:50 +08:00
Interface used to describe different kinds of page titles and page navigation. Navmodels are usually generated in the backend and stored in Redux.
2020-02-26 17:03:53 +08:00
< b > Signature< / b >
```typescript
export interface NavModel
```
< b > Import< / b >
```typescript
import { NavModel } from '@grafana/data';
```
< b > Properties< / b >
| Property | Type | Description |
| --- | --- | --- |
2020-04-21 16:41:50 +08:00
| [breadcrumbs ](#breadcrumbs-property ) | < code > NavModelItem[]</ code > | Describes breadcrumbs that are used in places such as data source settings., folder page and plugins page. |
| [main ](#main-property ) | < code > NavModelItem</ code > | Main page. that wraps the navigation. Generate the < code > children</ code > property generate tabs when used with the Page component. |
| [node ](#node-property ) | < code > NavModelItem</ code > | This is the current active tab/navigation. |
2020-02-26 17:03:53 +08:00
### breadcrumbs property
2020-04-21 16:41:50 +08:00
Describes breadcrumbs that are used in places such as data source settings., folder page and plugins page.
2020-02-26 17:03:53 +08:00
< b > Signature< / b >
```typescript
breadcrumbs?: NavModelItem[];
```
### main property
2020-04-21 16:41:50 +08:00
Main page. that wraps the navigation. Generate the `children` property generate tabs when used with the Page component.
2020-02-26 17:03:53 +08:00
< b > Signature< / b >
```typescript
main: NavModelItem;
```
### node property
2020-04-21 16:41:50 +08:00
This is the current active tab/navigation.
2020-02-26 17:03:53 +08:00
< b > Signature< / b >
```typescript
node: NavModelItem;
```