Layout / The visual dictionary
Flex layout.
A layout where children share and redistribute space along an axis.
Also calledflexboxflex row
01
UI illustrationSee it in context
A
Flexible
B
A
Flexible
B
02
What it is
A layout where children share and redistribute space along an axis. Allow suitable items to grow, shrink, or wrap while preserving order and alignment.
When to use it
Use it for toolbars and rows whose contents have different widths.
Know the difference
Flex layout distributes available space; fixed positioning ignores normal flow.
03
Across platforms
WebiOSiPadOSAndroidmacOSWindowsLinux
Web · iOS · iPadOS · Android · macOS · Windows · Linux
Flexbox is a CSS mechanism; native platforms offer equivalent flexible constraints and stack behavior.
04
Go to the source
Primary documentation for the pattern and its platform conventions.