A spacing system supports the creation of simple page layouts and understandable UI.
The consistent and intentional use of a spacing system creates a more harmonious experience for the end user. A spacing system also lays a foundation for responsive design and customisable UI density in the future, which will enhance the overall quality and accessibility of our products.
Applied to Small + Medium size values (0 to 24px).
Users expect elements to be grouped semantically. Using consistent spacing around elements lends them a visual similarity that helps the user understand their semantic relationship.
DO
Group similar items together using similar spacing
DON'T
Group similar items differently
Applied to Medium size value (12 to 24px).
The distance between elements creates semantic meaning. Elements that are placed close to one another are assumed to be related. Use this principle to create meaning by placing more related objects close together, and less related objects further apart.
DO
Group related items close together so that users can scan the content more easily
DON'T
Group related items far apart
Applied to Small + Medium size values (0 to 24px).
Users look for order in visual information to reduce the mental effort required to scan and process data. Therefore, the ordering of elements on a page can be used to encourage users to follow a certain flow or journey.
DO
Use scale and whitespace to rank elements
DON'T
Give every element the same visual importance