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

Taught in

References