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

See it in context

UI illustration
System area
Safe content
Safe inset

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.

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.

Primary documentation for the pattern and its platform conventions.