Marcus Andrey Study
Ler em português Library

Visual design · Step 6 · 7 min read

Visual consistency across components

One component can look right in isolation. A system of components needs to look right together. This lesson defines form language — the four shared decisions on radius, shadow, border and surface colour — and shows how to audit and correct inconsistencies across a component family.

Five blocks share a corner radius. The slider shows how one radius value shapes the whole component family at once. Point at a block to lift it. Illustration: Marcus Andrey, drawn with Hairline (MIT, Lucas Marques).

One component in isolation can be right. A system of components needs consistency between them.

What you'll be able to do after reading:

  • Name the four decisions that make up form language
  • Audit a component set and identify unintentional exceptions
  • Apply a consistent set of radius, shadow, border and surface colour values across a component family
  • Explain the difference between an intentional exception and a bug in a design system

1. Form language

Form language is the set of shape decisions a component family shares: the same border radius on all interactive elements, the same shadow for the same elevation level, the same border weight, the same surface colour in matching contexts. When those decisions are consistent, components feel like they belong to the same product. When they drift — one button at 4px radius, one card at 6px, one dropdown at 10px — the UI reads like three products assembled at the last minute.

The term originates in industrial design, where it describes the visual signature that links a product family: same curve, same material finish, same joint. In a UI it means the same thing: you decide once, enforce through colour tokens, and components look designed together without anyone having to hold a committee meeting every time a new one is built.


2. The four decisions

Decision What it controls
Radius The corner curvature of interactive and container elements
Shadow The elevation of an element above the page surface
Border The outline weight and colour
Surface colour The background of a component

Each decision needs to be the same decision everywhere it appears. If it differs, either the exception is intentional — write the rule that explains it — or it is a bug.

Radius

Gale Console (fictional) uses three values:

  • 4px for contained interactive elements: inputs, cells, chips, inline buttons
  • 8px for container elements: cards, panels, search overlays
  • 0 for full-width modals — a large element with rounded corners reads as floating, which needs an edge to stay grounded

A primary button at 4px radius opens a dropdown at 10px. The dropdown now feels imported from a different product. Neither value is wrong in isolation; together, they signal an inconsistency the user will feel even if they cannot name it.

Shadow

Elevation was defined in Corners, borders and shadows with a rule: shadows communicate the perceived Z-axis position of an element, not its aesthetic weight. The same elevation level always uses the same shadow.

Gale uses two levels:

  • Level 1: 0 1px 2px oklch(0.14 0.015 240 / 0.08) — dropdowns, tooltips, small overlays
  • Level 2: 0 4px 12px oklch(0.14 0.015 240 / 0.12) — modals and dialogs

Applying a level-2 shadow to a dropdown because it looks bolder breaks the semantic. The shadow now says "modal-height element" for something that is clearly a dropdown. Users start reading depth wrong across the product.

Border

A 1px border in a muted neutral reads as "this element has an edge." It defines shape without adding noise. When inputs use a 1px border and select menus use none, users start wondering whether the select is editable. All text-entry components in Gale share the same 1px border in oklch(0.88 0.015 240).

Surface colour

Surface colour is the background a component sits on. In Gale, the selected-row colour oklch(0.95 0.03 240) signals selection across tables, chips and filter tags. If a chip uses a different tint for the same selected state, the semantic signal breaks: users cannot read selection consistently from one context to another.

Inconsistent
button: 12px radius
input: 4px radius
Work order WO-2026-018734
CA-07-T14 · Gearbox oil change · Scheduled
card: 20px radius
Consistent
button: 4px radius
input: 4px radius
Work order WO-2026-018734
CA-07-T14 · Gearbox oil change · Scheduled
card: 8px radius
The same three components with inconsistent radius values (left) and consistent values (right). Three different radii on the left make the UI feel like parts assembled from different sources. The right column uses Gale's two-value rule — 4px for inline interactive elements, 8px for container cards — and the components read as one system. Gale and Cabo Alto Energia are fictional.Diagram: Marcus Andrey, CC BY 4.0.

3. How to audit a component family

A component audit takes one to two hours on a mid-size product. The goal is to find accidental exceptions — not to remove intentional ones.

  1. List every interactive component: buttons, inputs, selects, checkboxes, radio buttons, chips, cards, dropdowns, tooltips, modals, navigation items.
  2. Record the four values for each: measure the actual border radius, name the shadow level, record the border weight and colour, note the surface colour.
  3. Mark any value that deviates from the system rule in a column called "exception."
  4. For each exception, decide: is it intentional (then write the rule that justifies it) or accidental (then fix it)?

Intentional exceptions need a written justification. "The search overlay uses 12px because it is a prominent element positioned over dense content, where more softness reduces the visual collision" is a rule. "12px because it looked better that day" is a bug that will be reproduced in the next component someone builds by copying it.


Form language defines the default appearance of each component. States and edge cases (Design systems) covers how components behave across the full range of states — loading, error, empty, success. Accessible components (Design systems) covers how components communicate to assistive technology. All three work together.

Consistency also matters for accessibility directly. When all interactive elements share the same border style, a user scanning for things they can click identifies them quickly. When borders are inconsistent, the scan is slower — sometimes slow enough to cause errors on time-sensitive screens like Gale Console.

Consistency at the form level. The next step is consistency at the behaviour level: how visual states work.


5. Common mistakes

  • Gradual radius drift: the system starts at 4px; one designer adds a "soft" card at 12px; the next follows that component, not the rule. The fix is a token file and an audit before each release.
  • Card-and-inline collapse: cards need a larger radius than inline components. When a chip inside a card has the same 8px radius as the card itself, the two levels collapse visually — the hierarchy disappears.
  • Elevation misuse: using shadow level 2 on a dropdown because it looks bolder breaks the elevation semantic. Level 1 always means "small overlay"; level 2 means "blocking element."
  • Mixed borders on equivalent components: inputs and selects both accept text. If one has a 1px border and the other has none, users start wondering whether the second is interactive at all.

6. Try it

Take a screenshot of any app you use daily — a web app or mobile app works equally well.

  1. Identify three interactive components on the screen (a button, an input, a card or list item).
  2. For each, estimate the border radius: does it look consistent across the three?
  3. If you can open the same app's settings or profile screen, compare components there against the ones on your main screen.

What to produce: a screenshot with circles or arrows on the inconsistency you found, and one sentence per marked element describing its radius in relative terms (none, small, medium, large).

How to know it's good: your annotation points to a measurable difference — not "these look different" but "button uses no radius, input uses a medium radius, card uses a large radius — three values where one rule would do."


7. If you already practise

  • Run the four-column audit grid on a live project. How many exceptions can you explain with a rule?
  • Material Design 3 documents its shape system with explicit corner-family rationale. Compare it to how your team (or your Figma file) documents the same decision.
  • Carbon Design System (IBM) publishes component pages with shape and elevation specs. Reading them is a good way to see how a mature system documents intentional exceptions.

Checklist


Learn more

Books, courses and videos to go deeper

Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

Density and touch targets · Visual states: hover, focus and disabled · States and edge cases · Accessible components · Corners, borders and shadows with a rule · Colour, type and spacing as tokens

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close