The 8-Point Grid System: A Complete Guide for UI Designers
7 min read

The 8-Point Grid System: A Complete Guide for UI Designers

NewForm Community·September 27, 2026

Original carousel by @vamshi.work on Instagram. See the original post here.


The 8-point grid is the layout rule that makes your UI look cleaner instantly. It is not a trend or a preference. It is a mathematical system that brings consistency to every margin, padding, and element size in your design. Once you start using it, you will notice every interface that does not.

This guide breaks down the 8-point grid system step by step, based on a carousel from @vamshi.work. Whether you are new to the concept or need a refresher, this is the spacing system that separates professional work from amateur layouts.

8-Point Grid Explained Simply

What Is the 8-Point Grid?

The 8-point grid is a spacing system where every dimension in your design, margins, padding, element heights, widths, and gaps, is a multiple of 8. The base unit is 8 pixels, and everything scales from there.

Base Unit and Multiples

The math is simple:

  • 8px is your base unit
  • 16px is 2 x 8
  • 24px is 3 x 8
  • 32px is 4 x 8
  • 48px is 6 x 8
  • 64px is 8 x 8

When every spacing value follows this scale, your layout develops a visual rhythm. The eye perceives it as organized and intentional, even if the user cannot articulate why. Random spacing, like 13px margins next to 7px paddings, creates visual noise that makes a design feel sloppy.

Spacing Scale Visualization

Why 8 and Not 10?

You might wonder why the system uses 8 instead of 10. The answer comes down to how screens render pixels. Most modern displays use a pixel density that scales cleanly with multiples of 8. When you use 10px as your base, you end up with values like 10, 20, 30, 40 that do not divide as cleanly across different screen resolutions and scaling factors.

Multiples of 8 also give you more granularity for micro-adjustments. You can drop to 4px (half of 8) for fine-tuning without breaking the system. With a 10px base, your halfway point is 5px, which is less common in screen rendering.

Why 8 Works

How to Set Up the 8-Point Grid in Figma

Figma makes it straightforward to enforce the 8-point grid across your entire design file. Here is the setup process:

  1. Open any frame and go to the Layout Grid settings
  2. Set the grid size to 8px
  3. Turn on Snap to Grid in your preferences
  4. Enable Snap to Layout Grid for every frame

Once these settings are active, every element you draw, move, or resize will automatically align to the 8px grid. You will feel the difference immediately. Elements that used to sit at awkward offsets like 7px or 13px now snap to 8px or 16px without you thinking about it.

Figma Grid Setup

Spacing Tokens: Build Your Scale Once

The most efficient way to use the 8-point grid is to define your spacing as tokens. Instead of manually typing 8, 16, 24 every time, create named spacing values:

  • xs: 8px
  • sm: 16px
  • md: 24px
  • lg: 32px
  • xl: 48px
  • 2xl: 64px

Spacing Tokens

In Figma, you can set these up as Variables or Styles. When you use named tokens, you never accidentally type 14px when you meant 16px. The token enforces the system for you. This is especially valuable when working on a team, because everyone uses the same spacing values without needing to remember the exact numbers.

Element Sizing: Not Just Spacing

The 8-point grid does not only apply to the gaps between elements. It applies to the elements themselves. Button heights, input field heights, icon sizes, and card dimensions should all follow the same system.

Element Sizing on the Grid

Common element sizes on the 8-point grid:

  • Small buttons: 32px height
  • Default buttons: 40px height
  • Large buttons: 48px height
  • Input fields: 40px or 48px height
  • Icons: 16px, 24px, or 32px
  • Cards: multiples of 8 for both width and height

When your elements and your spacing share the same system, everything aligns. A 40px button inside a card with 16px padding creates a 72px total height, which is a clean multiple of 8. The whole layout locks together.

Typography and the 8-Point Grid

Type sizes can also follow the grid. While typography has its own rhythm based on readability, you can align line heights and text spacing to the 8-point system:

Typography on the Grid

  • Body text: 16px font size, 24px line height (3 x 8)
  • Headings: 32px font size, 40px line height (5 x 8)
  • Display: 48px font size, 56px line height (7 x 8)
  • Small text: 12px font size, 16px line height (2 x 8)

The line heights matter more than the font sizes themselves for grid alignment. When your line heights are multiples of 8, text blocks fit cleanly into your layout without creating odd gaps.

Common Mistakes to Avoid

Common Grid Mistakes

Mistake 1: Forgetting the 4px half-step. Sometimes 8px is too much and 0px is too little. That is where 4px comes in. It is half your base unit, and it exists for micro-adjustments like the gap between an icon and its label. Using 4px does not break the system. It extends it.

Mistake 2: Mixing grid and non-grid values. If you use the 8-point grid for 80 percent of your layout but leave a few elements at arbitrary values, the whole thing feels inconsistent. Commit to the system across the entire design.

Mistake 3: Ignoring the grid for decorative elements. Dividers, background shapes, and decorative accents should also follow the grid. A divider at 7px from the edge of a card breaks the visual rhythm even though it seems too small to matter.

The Result: Designs That Feel Professional

Final Result

The 8-point grid is not about following rules for the sake of it. It is about removing decision fatigue. When you have a system, you stop guessing. You stop choosing between 12px and 14px and 16px. You use 16px because that is your token. The time you save on spacing decisions gets reinvested in the actual design work: hierarchy, color, interaction, and content.

Designers who adopt the 8-point grid consistently report that their work looks more polished within days. The change is not subtle. It is the difference between a layout that feels hand-crafted and one that feels assembled.

If you want to put this into practice and build real interfaces with AI assistance, Base44 lets you ship production apps without writing code. Define your spacing system once and every component follows it.


Original carousel by @vamshi.work on Instagram. View the original post here.

Your Privacy, Your Choice

Control how we use your data

We use essential cookies to run NEWFORM and optional ones to improve analytics, personalization, and marketing. Choose what's okay with you.

Privacy Policy ·