Master Spacing in UI Design with One Simple System

Master Spacing in UI Design with One Simple System

7.3K views · 2025-12-02 UI Design
You can design faster when your spacing works for you.
This video shows you how to set up spacing the right way using Figma variables and an 8 pixel grid.

Inside the video you learn
• How spacing creates balance you can feel
• How to set up base tokens for radius, size, and space
• How to build a clean variable system without getting lost
• How to fix visibility rules so the right tokens show up in the right place
• How to turn your buttons and cards into real components that update in seconds
• How to think like a designer who ships production ready work

00:00 Why spacing is the hidden power of UI
00:18 The 8 pixel grid explained
00:48 Using an existing variable system to learn faster
01:32 The three parts of spacing radius size space
03:12 Why you need at least a two level design system
04:07 Building your base collection from scratch
06:49 Fixing variable visibility so developers read clean values
07:29 Setting size rules for width height and text
08:16 Setting space rules for padding and gaps
09:09 Creating your layout grid with spacing tokens
11:07 Why variables scale across every page
12:02 Building your button component with spacing tokens
14:10 Setting radius and padding with variables
15:11 Adding text input properties for buttons
17:09 Creating brand level spacing tokens
18:59 Replacing raw numbers with brand spacing
19:40 Developer mode output that makes sense to engineers
20:30 Why random spacing breaks your entire system
21:10 Starting the card component with real variables applied

Real examples
• A working grid for a 1440 layout
• A navigation button built from scratch
• A card layout that updates as soon as you change a token
• A live demo showing how one small value change updates your whole file

If you struggle with random spacing or messy layouts, this walkthrough gives you a system you can use right away.

What part of your spacing system do you want to improve first?