How to get screen height in Expo

April 23, 2020

The screen height can be retrieved using the Dimensions package:

import Dimensions from "react-native"

Dimensions.get("window").height

Follow my twitter (@benborgers) to see the work-in-progress of coding projects Iā€™m working on!