This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo StatusBar
A library that provides the same interface as the React Native StatusBar API, but with slightly different defaults to work great in Expo environments.
expo-status-bar gives you a component and imperative interface to control the app status bar to change its text color, background color, hide it, make it translucent or opaque, and apply animations to any of these changes. Exactly what you are able to do with the StatusBar component depends on the platform you're using.
tvOS and web support
For tvOS, the
expo-status-barcode will compile and run, but no status bar will show.For web, there is no API available to control the operating system's status bar, so
expo-status-barwill do nothing and won't throw an error.
Installation
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
API
import { StatusBar } from 'expo-status-bar';
No API data file found, sorry!