---
localeCode: en-US
order: 41
category: Navigation
title: Navigation
subTitle: Navigation
icon: doc-navigation
width: 650px
dir: column
brief: A menu list that provides navigation for pages and features.
---
## Demos
### How to import
```jsx
import { Nav } from '@douyinfe/semi-ui';
```
### Basic Usage
By passing `items` Parameters, you can quickly get a navigation bar.
Each navigation item includes:
- `itemKey`: The unique identity of the navigation project (must)
- `text`: Navigation copywriting
- `icon`: Navigation icon
For the meaning of the parameters, see [Nav.Item](#Nav.Item) Or [Nav.Sub](#Nav.Sub)
```jsx live=true dir="column"
import React from 'react';
import { Nav } from '@douyinfe/semi-ui';
import { IconUser, IconStar, IconSetting } from '@douyinfe/semi-icons';
class NavApp extends React.Component {
render() {
return (
},
{ itemKey: 'union', text: 'Union Center', icon: },
{
text: 'Task Platform',
icon: ,
itemKey: 'job',
items: ['Task Management', 'User Task Query'],
},
]}
onSelect={data => console.log('trigger onSelect: ', data)}
onClick={data => console.log('trigger onClick: ', data)}
/>
);
}
}
```
### Navigation Indentation
**Version: >= 0.16.0**
> Navigation indentation is currently effective only for first-level navigation.
#### Pure Copywriting Navigation
If the navigation project doesn't come in, `icon` field, then the copy will be automatically filled to the left.
```jsx live=true dir="column"
import React from 'react';
import { Nav } from '@douyinfe/semi-ui';
class NavApp extends React.Component {
render() {
return (