Skip to main content

Home Layout & Spacing Margin

Margin

Space outside an element, between it and its neighbors.

Margin is the space around a box. It pushes elements apart. Two cards with margin between them feel like separate things.

Margins establish rhythm and grouping. Tighter margins suggest "these belong together." Wider margins suggest "these are different sections."

Related terms