Skip to content
Inspireca Design

UI Foundations

Short lessons on the basics that every screen depends on: typography, spacing, hierarchy, accessibility, layout, colour and component design.

Typography

Spacing

  • Spacing on a 4-point scale

    Use a fixed set of gaps based on multiples of four, and let the size of the gap show how closely two things belong together.

Hierarchy

Accessibility

Layout

  • Layout grids for phone screens

    On a phone, a grid is mostly two decisions: the side margin and how items share the width. Make them once and every screen lines up.

Colour

  • Colour roles instead of colour names

    Decide what each colour is for, such as background, text, primary action or error, and you can change the palette later without redrawing the product.

Component design

  • Design every state of a component

    A button or field is not one picture but a set of states. Listing them before you draw prevents most of the gaps that developers otherwise have to guess.