Safe area
The part of the screen not covered by the status bar, notches, rounded corners or the home indicator. react-native-safe-area-context measures it per device; use its SafeAreaView or useSafeAreaInsets, never the deprecated SafeAreaView from react-native.
Minimal example
import { useSafeAreaInsets } from "react-native-safe-area-context";
const insets = useSafeAreaInsets();
<View style={{ flex: 1, paddingBottom: insets.bottom }} />Learn this concept
Lesson 4.1 · React Native screen layoutUsed in exercises
Exercise 4.4 · Expo app shell Exercise 4.15 · Item configurator screenRelatedKeyboardAvoidingView