Skip to main content
Cayuse Design System Lato · 4pt grid · WCAG 2.1 AA

Foundations

Spacing & grid

A 4-point grid governs every gap, inset and control height. Thirteen spacing steps, nine radii and three border widths — chosen from, never invented.

Figma source: ★ Pixel Grid ↗

The 4pt grid

Every measurement resolves to a multiple of 4 wherever possible. The odd steps that exist — 1, 2, 6, 10 — are for hairlines and optical corrections, not for layout.

Spacing scale
--spacing-4 · 4px
--spacing-8 · 8px
--spacing-12 · 12px
--spacing-16 · 16px
--spacing-20 · 20px
--spacing-24 · 24px
--spacing-32 · 32px
--spacing-40 · 40px
--spacing-48 · 48px

Placement rules from the Figma grid page

Two rules are called out explicitly on the Pixel Grid artboards and are easy to violate without noticing.

RuleTokenApplies to
A text label sits 8px from the object it labels.--spacing-8Field labels, checkbox and radio text, any caption bound to a control
Related controls group at 16px; unrelated groups separate at 24px or more.--spacing-16 / --spacing-24Form sections, button groups, card contents
Why the 8px label rule matters beyond tidiness

Proximity is what tells a sighted user which label belongs to which control. When a label drifts to 12 or 16px it starts to look equidistant between two fields, and users fill in the wrong one. The for/id association fixes this for screen readers; the 8px gap is the visual equivalent, and both are required.

Working width

The Figma page frames document two reference viewports and the working space inside each, after the 24px page gutters.

ScreenViewportWorking spaceNotes
Standard HD1440px1392pxThe primary design target.
Large HD1920px1872pxExtra width goes to content, not to wider gutters. Tile grids gain columns here rather than stretching.

Radius and border

Nine radii exist; three are in real use.

TokenValueApplied to
--radius-33pxThe default. Buttons, inputs, containers, menus, tiles, table wrappers.
--radius-55pxScrollbar track and thumb.
--radius-2020pxStatus pills only.
--border-width-11pxResting borders.
--border-width-22pxFocus rings and error borders — thickness itself is a signal, not only colour.
--border-width-33pxActive indicators: the tab underline, the side-menu left bar, the section-list marker, the banner’s left edge.
Radius in use
radius-20