8-point grid
A spacing rule where every margin, padding and component size is a multiple of 8 pixels, with 4 pixels allowed for tight spots.
In more detail
Using one base unit makes layouts line up and removes guesswork for designers and developers. Many screen sizes divide evenly by 8. The 4px half-step suits small items such as badges and dense table cells.
Related terms
- design token — A named design decision, such as a colour, font size or spacing value, stored as data so every platform can use the same value.
- pixel — The CSS absolute length unit px, defined as 1/96 of an inch and roughly one dot on a standard-density screen.
- typography — The choice and arrangement of fonts, sizes, weights and line spacing to make text readable and show hierarchy.
Taught in
- Typography & Spatial Grids: Modular Scales & Fluid Typography — Design Systems & Component Engineering