How to get screen width in Expo

January 24, 2021

The screen width can be retrieved using the Dimensions package:

import Dimensions from "react-native"


A quick favor: was anything I wrote incorrect or misspelled, or do you still have questions? Please use this form to let me know or ask for help!