Guides
Plan-enterprise-icon
Expo Application Services
API Reference

Screens

react-native-screens provides native primitives to represent screens instead of plain <View> components in order to better take advantage of operating system behavior and optimizations around screens. This capability is used by library authors and unlikely to be used directly by most app developers. It also provides the native components needed for React Navigation's createNativeStackNavigator.
Info-icon
Note: Please refer to the issue tracker if you encounter any problems.

Platform Compatibility

Android DeviceAndroid EmulatoriOS DeviceiOS SimulatorWeb
Status-success-iconStatus-success-iconStatus-success-iconStatus-success-iconStatus-success-icon

Installation

Terminal
→ npx expo install react-native-screens

If you're installing this in a bare React Native app, you should also follow these additional installation instructions.

API

The complete API reference and documentation is available in the README.
To use the native stack navigator, refer to the createNativeStackNavigator documentation.
  • Message-iconAsk a question on the forums about Screens
  • Github-iconView open bug reports for Screens
  • Code-iconView source code for Screens
  • Build-iconView package in npm Registry
  • Edit-iconEdit this page

Was this doc helpful?