Skip to content

Space and shape

The spacing scale, corners, borders, shadows, layout and the size of things a finger touches.

Applies to EngineCloud
View as Markdown
On this page
  1. Spacing
  2. Shape language
  3. Layout
  4. Touch

Spacing

Every gap in your app comes from one scale, built on 4 px:

TokenValueTypical use
space.14 pxbetween an icon and its label
space.28 pxinside small controls
space.312 pxbetween a label and its field
space.416 pxinside cards; the phone’s side margin
space.624 pxbetween groups
space.832 pxbetween sections on a phone
space.1248 pxbetween sections on a desktop
space.1664 pxaround the top of a page

A brand can stretch the scale (more air, or less), never add values outside it one by one.

Shape language

The shape of things is what makes two brands feel different even with the same layout. The guide decides:

DecisionLa Espiga
Corners (radius.control, radius.card, radius.sheet)soft: 10, 16 and 24 px, like a loaf
Fills or outlinesfilled buttons, outlined fields
Elevation (shadow.1 to shadow.3) or borders onlylow warm shadows on cards, none elsewhere
Line weight (border.thin, border.strong)1 and 2 px

Layout

TokenValue
breakpointsphone under 640 px, tablet 640 to 1024 px, desktop over 1024 px
content widththe guide’s reading width and the widest a screen may grow
gutters16 px on a phone, wider on a desktop; never a sideways scroll
densitycomfortable or compact, per guide (a staff console may be compact)

Touch

Everything a finger can press is at least size.touch (44 by 44 px), with room around it. design check measures it on the phone render of every screen.

  1. Spacing
  2. Shape language
  3. Layout
  4. Touch

    Search pages, sections and terms