> For the complete documentation index, see [llms.txt](https://iron-network.gitbook.io/reactify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iron-network.gitbook.io/reactify/reactify-redux-thunk-saga/ui-components/bottom-navigation.md).

# Bottom Navigation

You can add the component on any page in the template. You need to follow the steps given below:&#x20;

**Step 1:** You need to create a state, a function for change bottom navigation value. Also you need to add the code of bottom navigation in the page where you want to add the component. Please check the code snippet given below, we have added the bottom navigation in the Ecommerce Dashboard:

```
import React, { Component } from 'react'
...

export default class EcommerceDashboard extends Component {
	
	// Bottom Navigation State
	state = {
		example1: 'recents'
	}
  
   // Bottom Navigation Function
	 /**
	  * Hanlde Change Tab
	  */
	handleChange = (key, value) => {
		this.setState({ [key]: value });
	}

	render() {
		...
		
		// De-structure the state
		const { example1 } = this.state;
		
		return (
			<div className="ecom-dashboard-wrapper">
				...
				<div className="row">
					<div className="col-sm-6 col-md-12 mb-30
					 ">
						<div>
						
							// Bottom Navigation Code
							<BottomNavigation value={example1} onChange={(e, value) => this.handleChange('example1', value)}>
								<BottomNavigationAction label="Recents" value="recents" icon={<i className="zmdi zmdi-time-restore zmdi-hc-lg"></i>} />
								<BottomNavigationAction label="Favorites" value="favorites" icon={<i className="zmdi zmdi-favorite zmdi-hc-lg"></i>} />
								<BottomNavigationAction label="Nearby" value="nearby" icon={<i className="zmdi zmdi-pin zmdi-hc-lg"></i>} />
								<BottomNavigationAction label="Folder" value="folder" icon={<i className="zmdi zmdi-folder zmdi-hc-lg"></i>} />
							</BottomNavigation>
						</div>
					</div>
				</div>	
           ... 
```

**Step 2:** Now Import the component from its parent library.

```
import BottomNavigation from '@material-ui/core/BottomNavigation';
import BottomNavigationAction from '@material-ui/core/BottomNavigationAction';
```

We have given you an example of adding a bottom navigation with no label on the Ecommerce Dashboard.

![](/files/-LbwRELWpY0Go8KsNZVo)

You can check some other layouts of bottom navigation below. For adding any of the below layout in the template, please check their relative code in the `src->routes->components->bottom-navigation->index.js` file.&#x20;

![](/files/-Lbhhi7-YI-W-YOEju2o)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://iron-network.gitbook.io/reactify/reactify-redux-thunk-saga/ui-components/bottom-navigation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
