Edit this page
Learn how to add a splash screen and app icon to your Expo project.
A splash screen and an app icon are fundamental elements of a mobile app. They play an important role in the user experience and branding of the app. This guide provides steps on how to create and add them to your app.
See a detailed walkthrough on how to create an app icon and splash screen for an Expo project.
A splash screen, also known as a launch screen, is the first screen a user sees when they open your app. It stays visible while the app is loading. You can also control the behavior of when a splash screen disappears by using the native SplashScreen API.
The expo-splash-screen
has a built-in config plugin that lets you configure properties such as the splash icon and background color.
Do not use Expo Go or a development build to test your splash screen. Expo Go renders your app icon while the splash screen is visible, which can interfere with testing. Development builds includeexpo-dev-client
, which has its own splash screen and may cause conflicts. Instead, use a preview build or a production build.
1
To create a splash screen icon, you can use this Figma template. It provides a bare minimum design for an icon and splash images for Android and iOS.
Recommended:
2
After creating a splash screen icon, export it as a .png and save it in the assets/images directory. By default, Expo uses splash-icon.png as the file name. If you decide to change the name of your splash screen file, make sure to use that in the next step.
Note: Currently, only .png images are supported to use as a splash screen icon in an Expo project. If you use another image format, making a production build of your app will fail.
3
Open the app config file, and under plugins, set the following properties:
{
"expo": {
"plugins": [
[
"expo-splash-screen",
{
"backgroundColor": "#232323",
"image": "./assets/images/splash-icon.png",
"dark": {
"image": "./assets/images/splash-icon-dark.png",
"backgroundColor": "#000000"
},
"imageWidth": 200
}
]
]
}
}
To test your new splash screen, build your app for internal distribution or for production, see guides on Android and iOS.
Learn about the configurable properties of the SplashScreen API.
expo-splash-screen
properties separately for Android and iOSexpo-splash-screen
also supports android
and ios
properties for configuring the splash screen for a specific platform. See the following example:
{
"expo": {
"plugins": [
[
"expo-splash-screen",
{
"ios": {
"backgroundColor": "#ffffff",
"image": "./assets/images/splash-icon.png",
"resizeMode": "cover",
},
"android": {
"backgroundColor": "#0c7cff",
"image": "./assets/images/splash-android-icon.png",
"imageWidth": 150,
}
}
}
]
]
}
}
If your app does not use Expo Prebuild (formerly the managed workflow) to generate the native android and iOS directories, then changes in the app config will have no effect. For more information, see how you can customize the configuration manually.
An app's icon is what your app users see on their device's home screen and app stores. Android and iOS have different and strict requirements.
1
To create an app icon, you can use this Figma template. It provides a bare minimum design for an icon and splash images for Android and iOS.
2
3
Open the app config and add the local path as the value of icon
property to point it to your new app icon:
{
"icon": "./assets/images/icon.png"
}
Further customization of the Android icon is possible using the android.adaptiveIcon
property, which will override both of the previously mentioned settings.
The Android Adaptive Icon is formed from two separate layers — a foreground image and a background color or image. This allows the OS to mask the icon into different shapes and also supports visual effects. For Android 13 and later, the OS supports a themed app icon that uses a wallpaper and theme to determine the color set by the device's theme.
The design you provide should follow the Android Adaptive Icon Guidelines for launcher icons. You should also:
android.adaptiveIcon.foregroundImage
property to specify the path to your foreground image.android.adaptiveIcon.monochromeImage
property to specify the path to your monochrome image.android.adaptiveIcon.backgroundColor
property. You can instead specify a background image using the android.adaptiveIcon.backgroundImage
property. Make sure that it has the same dimensions as your foreground image.You may also want to provide a separate icon for older Android devices that do not support Adaptive Icons. You can do so with the android.icon
property. This single icon would be a combination of your foreground and background layers.
See Apple best practices to ensure your icon looks professional, such as testing your icon on different wallpapers and avoiding text beside your product's wordmark. Provide an icon that's at least 512x512 pixels.
For iOS, your app's icon should follow the Apple Human Interface Guidelines. You should also:
npx create-expo-app
, EAS Build will generate the other sizes for you. In case of a bare React Native project, generate the icons on your own. The largest size EAS Build generates is 1024x1024.ios.icon
to specify different icons for various system appearances (for example, dark and tinted) can be provided. If specified, this overrides the top-level icon key in the app config file. See the example below:{
"expo": {
"ios": {
"icon": {
"dark": "./assets/images/ios-dark.png",
"light": "./assets/images/ios-light.png",
"tinted": "./assets/images/ios-tinted.png"
}
}
}
}