This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 55).
Expo Router Native tabs
An Expo Router submodule that provides native tabs layout.
Native tabs is an alpha feature available in SDK 54 and later, and its API is subject to change.
expo-router/unstable-native-tabs is a submodule of expo-router and exports components to build tab layouts using platform-native system tabs.
See the Expo Router reference for more information about the file-based routing library for native and web app.
Installation
To use expo-router/unstable-native-tabs in your project, you need to install expo-router in your project. Follow the instructions from Expo Router's installation guide:
Learn how to install Expo Router in your project.
Configuration in app config
If you are using the default template to create a new project, expo-router's config plugin is already configured in your app config.
Example app.json with config plugin
{ "expo": { "plugins": ["expo-router"] } }
Usage
To learn how to use native tabs, with Expo Router, read the native tabs guide:
Learn how to use native tabs in your Expo Router app.
API
import { NativeTabs } from 'expo-router/unstable-native-tabs';
No API data file found, sorry!