Spacing & Shape
Semantic layout props choose spacing; components own their shape and elevation. The token tables below expose the underlying values for reference, while the examples use the same public APIs as an application.
Gap
Row and Column share a six-step gap axis. snug is the default. Switch the example to compare the space between real components.
A
B
C
iOS
A
B
C
Android
A
B
C
Web
tsx
flush · 0px
tight · 4px
snug · 8px
cozy · 12px
relaxed · 16px
loose · 24px
Padding
padTight, pad and padLoose inset a layout group. A normal Card already owns its inset; flush removes that inset when a child layout must provide it.
Workspace
One inset around the whole group.
iOS
Workspace
One inset around the whole group.
Android
Workspace
One inset around the whole group.
Web
tsx
padTight · 8px
pad · 16px
padLoose · 24px
Spacing reference
The shared numeric scale includes the hairline and half steps alongside the 4px progression. Components and layout primitives map their semantic props onto this scale.
Radius and shape
The radius ladder is a reference for component skins. Use a component's supported shape prop at a call site, such as Emblem circle; other components choose their shape for their own role and platform.
Shapes in use
Member
These are Emblem, Avatar and Badge, with their own shapes and materials.
The shape table records platform token values. Each component selects the platform shape only when that platform defines a control for its job; other native skins use the web shape.
Elevation
Card exposes flat, default and raised appearances. These examples use those appearances directly; the reference lists the shadow helper's output on the running platform in the active theme.
Flat surface
iOS
Flat surface
Android
Flat surface
Web
tsx
Flat
Default
Raised
Layering
Floating components own their placement and stacking. Open the Popover to see the real overlay above its sibling Card.
Content beneath the overlay
iOS
Content beneath the overlay
Android
Content beneath the overlay
Web
tsx
Component density
compact and comfortable adjust a component's own metrics. Omit both for its regular density. There is no global padding override: the same props are resolved by each component's skin.
Storage
84% of 512 GB used.
iOS
Storage
84% of 512 GB used.
Android
Storage
84% of 512 GB used.
Web
tsx
compact
default
comfortable