Figma Spacing and Alignment

Clean spacing separates polished layouts from rough ones. Even simple screens look professional when every gap follows a rule. Figma includes tools that measure, align, and distribute elements in seconds.

The Idea of Proximity

Items that belong together sit close. Unrelated items sit apart. A restaurant menu shows this well: each dish name and price share a line, and each section gets extra white space. Readers understand the grouping without thinking about it.

Weak spacing (equal gaps everywhere)
[ Title    ]
[ Subtitle ]
[ Image    ]
[ Button   ]

Strong spacing (gaps follow meaning)
[ Title    ]
[ Subtitle ]
             (large gap)
[ Image    ]
             (large gap)
[ Button   ]

The 8-Point System

Many designers pick spacing values that divide evenly by 8. Common sizes include 8, 16, 24, 32, 40, and 48. Small gaps sometimes use 4. Screen sizes divide neatly by 8, which keeps layouts crisp across devices.

4   ██
8   ████
16  ████████
24  ████████████
32  ████████████████
48  ████████████████████████

Stick to a short scale and every screen feels related. Random values like 13 or 27 create small errors that the eye notices.

Alignment Tools

Select two or more layers and look at the top of the right panel. Six alignment buttons appear.

Align left     Align horizontal center     Align right
Align top      Align vertical middle       Align bottom

Before (messy)          After (align left)
[##]                    [##]
   [######]             [######]
 [####]                 [####]

Figma aligns layers to the edges of the whole selection. A single layer inside a frame aligns to that frame instead.

Distribute Spacing

Distribution makes the gaps between three or more layers equal. Look for the distribute horizontal spacing and distribute vertical spacing options beside the alignment buttons. The Tidy up command performs a similar job and also lines up scattered layers into a grid.

Before                       After distribute horizontal
[A] [B]       [C]            [A]    [B]    [C]

Measure with the Alt Key

Select a layer and hold Alt (Option). Hover over a neighbor to see red measurement labels showing the exact distance in pixels. Use this check to confirm that every card gap matches.

Smart Guides

Red and pink guide lines appear while you drag layers. The guides snap edges and centers to nearby objects. Pink distance markers show when two gaps match, so you can place a layer in the exact middle of two others.

Nudge for Fine Control

  • Arrow keys move the selection 1 pixel.
  • Shift plus an arrow key moves by the big nudge amount, 10 pixels by default.
  • Change the big nudge to 8 in Preferences to match the 8-point system.

Practice Task: Profile Card

  1. Draw a frame 320 pixels wide.
  2. Add an avatar, a name, a role, and a button.
  3. Set 16 pixels between the avatar and the name.
  4. Set 4 pixels between the name and the role.
  5. Set 24 pixels above the button.
  6. Align every element to the left edge.
+--------------------------+
|  (o)                     |
|                          |   16 px gap
|  Maya Patel              |
|  Product Designer        |   4 px gap
|                          |   24 px gap
|  [ Follow ]              |
+--------------------------+

Common Mistakes

  • Eyeballing gaps instead of measuring them.
  • Mixing many spacing values within one screen.
  • Centering some items and left-aligning others in the same column.
  • Skipping padding at frame edges, which makes content feel cramped.