Layout / The visual dictionary
Safe area.
The portion of a display where essential content avoids system UI and hardware obstructions.
Also calledsafe insetsafe-area inset
01
UI illustrationSee it in context
System area
Safe content
Safe inset02
What it is
The portion of a display where essential content avoids system UI and hardware obstructions. Keep text and controls inside safe boundaries while allowing decorative backgrounds to extend farther.
When to use it
Use it around cutouts, rounded corners, home indicators, and persistent system bars.
Know the difference
A safe area reflects external obstructions; ordinary padding is a design spacing choice.
03
Across platforms
WebiOSiPadOSAndroidmacOSWindowsLinuxwatchOSWear OStvOSAndroid TVvisionOS
Web · iOS · iPadOS · Android · macOS · Windows · Linux · watchOS · Wear OS · tvOS · Android TV · visionOS
iOS exposes safe-area guides; Android window insets and web env safe-area values address equivalent constraints.
04
Go to the source
Primary documentation for the pattern and its platform conventions.