Layout / The visual dictionary
Padding.
Space between a container's boundary and its contents.
Also calledinner spacinginset
01
UI illustrationSee it in context
Padding
Content
02
What it is
Space between a container's boundary and its contents. Keep text and controls inset from edges so the content remains readable and comfortable to interact with.
When to use it
Use it inside cards, buttons, panels, and page containers.
Know the difference
Padding is inside the boundary; margin separates the element from its neighbors.
03
Across platforms
WebiOSiPadOSAndroidmacOSWindowsLinuxwatchOSWear OStvOSAndroid TVvisionOS
Web · iOS · iPadOS · Android · macOS · Windows · Linux · watchOS · Wear OS · tvOS · Android TV · visionOS
Respect safe-area insets separately from ordinary padding; round watch screens may need extra edge accommodation.
04
Go to the source
Primary documentation for the pattern and its platform conventions.