📖 Step 2: Design - UI/UX Basics#402 / 498
8pt Grid
8pt Grid / Spacing Scale
📖One-line summary
A spacing system that sizes all gaps and dimensions in multiples of 8 for a consistent rhythm.
✨Example
🎨
8pt 그리드
8pt Grid / Spacing Scale
⚡Vibe coding prompt examples
>_
The page's margins and paddings are all over the place (13px, 22px). Normalize them to an 8pt grid and convert them to Tailwind classes.
>_
Create an 8pt spacing scale (4, 8, 16, 24, 32, 48, 64) as CSS variables and a Tailwind spacing config.
>_
Explain why an 8pt grid makes designs look tidy, and when it's fine to mix in 4pt steps.
Try these prompts in your AI coding assistant!