Images are an important part of any UI. Whether we use them to display icons, avatars, or pictures, with React Native you can do all of that. In this recipe, we will use images to create a video player. We will also display the icons from the local device, and a large image from a remote server on Amazon S3.
In order to follow the steps in this recipe, its necessary to create an empty app using the React Native CLI. Follow the instructions in the introduction of this chapter if you don't know to create an empty app. We are going to name it
We are going to display a few images in our app to mimic a video player, so make sure to download the assets for this recipe.