---
modificationDate: May 27, 2026
title: NavigationBar
description: A Jetpack Compose NavigationBar component for Material 3 bottom navigation.
sourceCodeUrl: 'https://github.com/expo/expo/tree/main/packages/expo-ui'
packageName: '@expo/ui'
platforms: ['android', 'expo-go']
---

<AgentInstructions>

## Submitting Feedback

If this page contains errors, outdated information, or gaps that blocked you from completing a task, report it so the docs can be improved:

curl -X POST https://api.expo.dev/v2/feedback/docs-send -H 'Content-Type: application/json' -d '{"url":"/versions/v56.0.0/sdk/ui/jetpack-compose/navigationbar/","feedback":"🤖 Agent feedback for docs: <specific, actionable description>","model":"<your model identifier>"}'

Only submit when you have something specific and actionable to report. Replace <your model identifier> with the model you are running as.

</AgentInstructions>

# NavigationBar

A Jetpack Compose NavigationBar component for Material 3 bottom navigation.
Android, Included in Expo Go

> For the complete documentation index, see [llms.txt](/llms.txt). Use this file to discover all available pages.

Expo UI NavigationBar matches the official Jetpack Compose [`NavigationBar`](https://developer.android.com/develop/ui/compose/components/navigation-bar) API. It displays a row of destinations for switching between top-level app sections.

## Installation

```sh
# npm
npx expo install @expo/ui

# yarn
yarn expo install @expo/ui

# pnpm
pnpm expo install @expo/ui

# bun
bun expo install @expo/ui
```

If you are installing this in an [existing React Native app](/bare/overview), make sure to [install `expo`](/bare/installing-expo-modules) in your project.

## Usage

### Basic navigation bar

Manage the selected item in React state and pass `selected` to each `NavigationBarItem`.

```tsx
import { useState } from 'react';
import { Host, Icon, NavigationBar, NavigationBarItem, Text } from '@expo/ui/jetpack-compose';

const HOME_ICON = require('./assets/home.xml');
const SEARCH_ICON = require('./assets/search.xml');
const SETTINGS_ICON = require('./assets/settings.xml');

export default function BasicNavigationBar() {
  const [selectedTab, setSelectedTab] = useState('home');

  return (
    <Host matchContents>
      <NavigationBar>
        <NavigationBarItem selected={selectedTab === 'home'} onClick={() => setSelectedTab('home')}>
          <NavigationBarItem.Icon>
            <Icon source={HOME_ICON} />
          </NavigationBarItem.Icon>
          <NavigationBarItem.Label>
            <Text>Home</Text>
          </NavigationBarItem.Label>
        </NavigationBarItem>

        <NavigationBarItem
          selected={selectedTab === 'search'}
          onClick={() => setSelectedTab('search')}>
          <NavigationBarItem.Icon>
            <Icon source={SEARCH_ICON} />
          </NavigationBarItem.Icon>
          <NavigationBarItem.Label>
            <Text>Search</Text>
          </NavigationBarItem.Label>
        </NavigationBarItem>

        <NavigationBarItem
          selected={selectedTab === 'settings'}
          onClick={() => setSelectedTab('settings')}>
          <NavigationBarItem.Icon>
            <Icon source={SETTINGS_ICON} />
          </NavigationBarItem.Icon>
          <NavigationBarItem.Label>
            <Text>Settings</Text>
          </NavigationBarItem.Label>
        </NavigationBarItem>
      </NavigationBar>
    </Host>
  );
}
```

## API

```tsx
import { NavigationBar, NavigationBarItem } from '@expo/ui/jetpack-compose';
```

## Components

### `NavigationBar`

Supported platforms: Android.

Type: React.[Element](https://www.typescriptlang.org/docs/handbook/jsx.html#function-component)<[NavigationBarProps](#navigationbarprops)\>

A Material Design 3 navigation bar.

NavigationBarProps

### `children`

Supported platforms: Android.

Optional • Type: `React.ReactNode`

Navigation bar items.

### `containerColor`

Supported platforms: Android.

Optional • Type: [ColorValue](https://reactnative.dev/docs/colors) • Default: `NavigationBarDefaults.containerColor`

Background color of the navigation bar.

### `contentColor`

Supported platforms: Android.

Optional • Type: [ColorValue](https://reactnative.dev/docs/colors) • Default: `contentColorFor(containerColor)`

Preferred content color inside the navigation bar.

### `modifiers`

Supported platforms: Android.

Optional • Type: `ModifierConfig[]`

Modifiers for the component.

### `tonalElevation`

Supported platforms: Android.

Optional • Type: `number` • Default: `NavigationBarDefaults.Elevation`

Tonal elevation in dp.

### `NavigationBarItem`

Supported platforms: Android.

Type: React.[Element](https://www.typescriptlang.org/docs/handbook/jsx.html#function-component)<[NavigationBarItemProps](#navigationbaritemprops)\>

A Material Design 3 navigation bar item. Must be used inside `NavigationBar`.

NavigationBarItemProps

### `alwaysShowLabel`

Supported platforms: Android.

Optional • Type: `boolean` • Default: `true`

Whether to always show the label.

### `children`

Supported platforms: Android.

Optional • Type: `React.ReactNode`

Children containing `Icon`, `SelectedIcon`, and `Label` slots.

### `colors`

Supported platforms: Android.

Optional • Type: [NavigationBarItemColors](#navigationbaritemcolors)

Colors for the item in different states.

### `enabled`

Supported platforms: Android.

Optional • Type: `boolean` • Default: `true`

Whether the item is enabled.

### `modifiers`

Supported platforms: Android.

Optional • Type: `ModifierConfig[]`

Modifiers for the component.

### `onClick`

Supported platforms: Android.

Optional • Type: `() => void`

Callback that is called when the item is clicked.

### `selected`

Supported platforms: Android.

Type: `boolean`

Whether this item is currently selected.

## Types

### `NavigationBarItemColors`

Supported platforms: Android.

Colors for navigation bar items in different states.

| Property | Type | Description |
| --- | --- | --- |
| disabledIconColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| disabledTextColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| selectedIconColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| selectedIndicatorColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| selectedTextColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| unselectedIconColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| unselectedTextColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |

## Components

### `NavigationBar`

Supported platforms: Android.

Type: React.[Element](https://www.typescriptlang.org/docs/handbook/jsx.html#function-component)<[NavigationBarProps](#navigationbarprops)\>

A Material Design 3 navigation bar.

NavigationBarProps

### `children`

Supported platforms: Android.

Optional • Type: `React.ReactNode`

Navigation bar items.

### `containerColor`

Supported platforms: Android.

Optional • Type: [ColorValue](https://reactnative.dev/docs/colors) • Default: `NavigationBarDefaults.containerColor`

Background color of the navigation bar.

### `contentColor`

Supported platforms: Android.

Optional • Type: [ColorValue](https://reactnative.dev/docs/colors) • Default: `contentColorFor(containerColor)`

Preferred content color inside the navigation bar.

### `modifiers`

Supported platforms: Android.

Optional • Type: `ModifierConfig[]`

Modifiers for the component.

### `tonalElevation`

Supported platforms: Android.

Optional • Type: `number` • Default: `NavigationBarDefaults.Elevation`

Tonal elevation in dp.

### `NavigationBarItem`

Supported platforms: Android.

Type: React.[Element](https://www.typescriptlang.org/docs/handbook/jsx.html#function-component)<[NavigationBarItemProps](#navigationbaritemprops)\>

A Material Design 3 navigation bar item. Must be used inside `NavigationBar`.

NavigationBarItemProps

### `alwaysShowLabel`

Supported platforms: Android.

Optional • Type: `boolean` • Default: `true`

Whether to always show the label.

### `children`

Supported platforms: Android.

Optional • Type: `React.ReactNode`

Children containing `Icon`, `SelectedIcon`, and `Label` slots.

### `colors`

Supported platforms: Android.

Optional • Type: [NavigationBarItemColors](#navigationbaritemcolors)

Colors for the item in different states.

### `enabled`

Supported platforms: Android.

Optional • Type: `boolean` • Default: `true`

Whether the item is enabled.

### `modifiers`

Supported platforms: Android.

Optional • Type: `ModifierConfig[]`

Modifiers for the component.

### `onClick`

Supported platforms: Android.

Optional • Type: `() => void`

Callback that is called when the item is clicked.

### `selected`

Supported platforms: Android.

Type: `boolean`

Whether this item is currently selected.

## Types

### `NavigationBarItemColors`

Supported platforms: Android.

Colors for navigation bar items in different states.

| Property | Type | Description |
| --- | --- | --- |
| disabledIconColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| disabledTextColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| selectedIconColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| selectedIndicatorColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| selectedTextColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| unselectedIconColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
| unselectedTextColor(optional) | [ColorValue](https://reactnative.dev/docs/colors) | - |
