Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including react-native-material-bottom-navigation with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. require("react-native/package.json"); // react-native is a peer dependency. var reactNativeMaterialBottomNavigation = require("react-native-material-bottom-navigation")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-native-material-bottom-navigation v1.0.3

A beautiful, customizable and easy-to-use Material Design Bottom Navigation for react-native.


npm version downloads

A beautiful, customizable and easy-to-use
Material Design Bottom Navigation for react-native.

  • Pure JavaScript. No native dependencies. No linking. No obstacles.
  • Looks beautiful. Stunning and fluid animations. You won't believe it's not a native view.
  • Customize it. You can adjust nearly everything to make it fit perfectly to your app.
  • Easy to use. Uses established React patterns for both simple and advanced usage.
  • Pluggable. Includes customizable Tabs and Badges. Not enough? Create and use your own!


Using npm:

npm install react-native-material-bottom-navigation

Or using yarn:

yarn add react-native-material-bottom-navigation

Table of Contents


Shifting Tab

Full Tab

Icon Tab


This library uses "render props" as established pattern for component composition. The example below illustrates the basic usage of the Bottom Navigation. All available Props are listed in the Documentation.

Dive into the example below, check out the example app and take a look at the Usage Documentation.

import BottomNavigation, {
} from 'react-native-material-bottom-navigation'

export default class App extends React.Component {
  tabs = [
      key: 'games',
      icon: 'gamepad-variant',
      label: 'Games',
      barColor: '#388E3C',
      pressColor: 'rgba(255, 255, 255, 0.16)'
      key: 'movies-tv',
      icon: 'movie',
      label: 'Movies & TV',
      barColor: '#B71C1C',
      pressColor: 'rgba(255, 255, 255, 0.16)'
      key: 'music',
      icon: 'music-note',
      label: 'Music',
      barColor: '#E64A19',
      pressColor: 'rgba(255, 255, 255, 0.16)'

  renderIcon = icon => ({ isActive }) => (
    <Icon size={24} color="white" name={icon} />

  renderTab = ({ tab, isActive }) => (

  render() {
    return (
      <View style={{ flex: 1 }}>
        <View style={{ flex: 1 }}>
          {/* Your screen contents depending on current tab. */}
          onTabPress={newTab => this.setState({ activeTab: newTab.key })}

Note: Out-of-the-box support for React Navigation (called NavigationComponent in earlier releases) was removed with v1. You can still use an earlier version, or integrate the Bottom Navigation on your own. Read more...


You can also view the entire documentation on GitBook:


React Navigation Support

In contrary to earlier releases, this library does not support React Navigation out of the box (called NavigationComponent in earlier releases). React Navigation now ships with an own Material Bottom Navigation: createMaterialBottomTabNavigator.

The API of React Navigation changes quite frequently, and (until now) it wasn't always easy to keep track of changes and be up-to-date. Also I don't want to favor and promote React Navigation over other Navigation Libraries.

You can still implement the Bottom Navigation on your own, for example by using React Navigation's Custom Navigator.

If you integrate material-bottom-navigation with a navigation library in your project, feel free to share your knowledge by contributing to the Documentation or event create your own module which uses react-native-material-bottom-navigation.

Updated Material Design Specs

Google updated the Material Guidelines on Google I/O 2018 with new specifications, including a slightly changed Bottom Navigation and a new "App Bar Bottom" with a FAB in a centered cutout. react-native-material-bottom-navigation uses the older specs.


Contributions are always welcome. Read more in the Contribution Guides.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


Thanks goes to these wonderful people (emoji key):

| [Timo Mämecke
Timo Mämecke](
[🐛]( "Bug reports") [💻]( "Code") [🎨](#design-timomeh "Design") [📖]( "Documentation") [💡](#example-timomeh "Examples") [🚇](#infra-timomeh "Infrastructure (Hosting, Build-Tools, etc)") [🤔](#ideas-timomeh "Ideas, Planning, & Feedback") [👀](#review-timomeh "Reviewed Pull Requests") | [Shayan Javadi
Shayan Javadi](
[💻]( "Code") | [David
[💻]( "Code") | [Jayser Mendez
Jayser Mendez](
[📖]( "Documentation") | [Peter Kottas
Peter Kottas](
[💻]( "Code") | [Matt Oakes
Matt Oakes](
[💻]( "Code") | [Keeley Carrigan
Keeley Carrigan](
[💻]( "Code") | | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | [Sean Holbert
Sean Holbert](
[💻]( "Code") | [Alessandro Parolin
Alessandro Parolin](
[📖]( "Documentation") | [Prashanth Acharya M
Prashanth Acharya M](
[📖]( "Documentation") | [Alexey Tcherevatov
Alexey Tcherevatov](
[💻]( "Code") |

This project follows the all-contributors specification. Contributions of any kind welcome!


MIT, © 2017 - present Timo Mämecke

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free