Design Principles
Four shared values and ten practical principles for clear, consistent interfaces. Use them to guide decisions across components and screens.
Design values
Use these values when an existing rule does not settle a design decision. The examples below are static illustrations of the principles.
Legible
Make information understandable at a glance. Use clear labels, explain empty states, indicate truncated content, and communicate status through more than color.
Consistent
Give the same problem the same solution. Reuse shared foundations, component behavior and language so familiar patterns stay predictable.
Honest
Show what the system is actually doing. Report real progress, make limitations clear, and use motion and elevation to communicate meaningful changes.
Adaptive
Support the context people bring: screen size, input method, theme, reading direction and accessibility preferences. Build adaptation into each component.
1. Proximity
Spacing communicates relationship before a single label is read. Elements that belong together sit close; a group that doesn't relate to its neighbor gets a visibly larger gap - never the same gap used everywhere out of habit.
Do
Small gaps within each pair and larger gaps between pairs make the grouping visible before any label is read.
Don't
Equal gaps within and between groups make related fields harder to distinguish.
2. Alignment
Every edge should line up with another edge on purpose. An element positioned by eye rather than against a shared line creates a visual tie the reader has to resolve before they can read the content.
Do
Every field shares the same left edge and the same width - the column reads as one aligned unit.
Don't
Every field starts and ends at a slightly different point - nothing is broken, but the eye has to work to find the column that isn't there.
3. Contrast
The most important thing on a screen should be the most visually distinct thing on it. If two elements aren't equally important, don't give them equal visual weight - contrast is what lets a reader tell them apart without reading either one.
Do
One saturated Primary action against dim, small status text - the eye finds the action first, exactly once.
Don't
Status text bolded and sized to match the button competes with it for attention - now there are two things to look at with no way to tell which mattered more.
4. Repetition
A pattern solved once should be solved identically everywhere it recurs. Re-deriving a layout, a spacing value or a color per screen isn't creative variation - it's a second, slightly different rule the next designer now has to discover and reconcile.
Do
Invoice #4021
Invoice #4022
Every row in the list uses the exact same card structure and spacing - no row asks to be looked at differently from its neighbor.
Don't
Invoice #4021
Invoice #4022
The second row has different padding, corner radius and title weight for no reason tied to its content - the user now wonders if it means something.
5. Make it Direct
Let people act on the thing itself instead of routing them through a separate settings surface to change one property of it. The shorter the distance between seeing something and changing it, the less the interface is getting in the way.
Do
Clicking the title renames it in place - the object being edited and the control for editing it are the same element.
Don't
Renaming a title routes through a separate settings surface for a change that has nothing to do with settings - three clicks for one word.
6. Stay on the Page
A small, contained task doesn't need to leave the page the user is already on. Full navigation resets their scroll position and working context for a job that a drawer or an inline panel could have handled without losing either.
Do
Filtering opens a drawer beside the list - the list, scroll position and selection stay exactly where the user left them.
Don't
Sending the user to a whole new page to set one filter loses their place in the list they were just looking at.
7. Keep it Lightweight
Don't demand more setup than the task is worth. A five-field wizard before the user has seen any payoff teaches them the tool is a chore before it's had the chance to be useful.
Do
One field to get started - everything else (description, members, template) is filled in later, from inside the thing that now exists.
Don't
A five-step wizard before the project even exists front-loads setup the user hasn't earned the payoff for yet.
8. Provide an Invitation
The next possible action should be visually discoverable before it's needed, through a subtle cue - a hover state, an icon that appears on proximity - not hidden until the user already knows to look for it.
Do
Row actions are visible - dimmed to stay out of the way, but present enough that the user knows they exist without hovering to discover them.
Don't
Actions that exist only on hover, with nothing hinting they're there, are invisible on touch devices and undiscoverable everywhere else.
9. Use Transition
Use transitions to explain a change of state. Keep them brief, respect reduced-motion preferences, and never delay access to content or keyboard focus.
Do
In an implementation, a brief expansion can help people follow new content. With reduced motion, reveal it immediately and preserve their place.
Don't
Content snapping into existence with no transition shoves every element below it in one frame - disorienting on a long, scrolled page.
10. React Immediately
Acknowledge an action immediately, even when the work takes longer. Show a meaningful working state, prevent duplicate submissions where needed, and announce the result.
Do
The button visibly enters a loading state the moment it's pressed, before the network call has even resolved - the click clearly registered.
Don't
A button that gives no feedback until the request finishes leaves the user unsure whether the click landed, and often clicking again.
Use these principles
Copy this guide, or export it with your project brief and foundation settings.
Preview Markdown
Implementation contract
Saved validated choices override project recommendations, which override system defaults. This implementation contract governs static specimens. Resolved tokens in the current export are authoritative values. Component exceptions must name the affected role and reason.
Flow and use
Introduce shared values, then use eleven stable, keyboard-accessible section links for the values and ten principles. Do/Don’t examples are static illustrations; example inputs are read-only, named and outside the tab order. Describe transitions as implementation guidance and respect reduced-motion preferences. Apply principles through concrete component states, accessible reading order, reflow and recovery.
Handoff
Keep one Copy guide action and a link to Markdown Export with project context. Collapse the duplicate Markdown preview by default; reveal and focus it if clipboard access fails. Export the merged values, principles and current rules without including export controls. Explain exceptions with the product constraint and verification evidence. A principle alone does not prove a component is accessible.
Values
Introduce Legible, Consistent, Honest and Adaptive as shared decision-making values, followed by the ten practical principles. Keep one Design Principles navigation item; legacy Design Values links redirect to this introduction.
Machine contract: section rules, storage, units and acceptance
{
"schemaVersion": 1,
"authority": "Saved validated choices override project recommendations, which override system defaults. This implementation contract governs static specimens. Resolved tokens in the current export are authoritative values. Component exceptions must name the affected role and reason.",
"governance": {
"owners": "Design System Lead owns token and compatibility policy. Designers own specimens and interaction contracts. Developers own resolver/export/import parity. QA and Accessibility own release evidence. Product teams own domain-specific confidence, privacy and retention policies.",
"changes": "Change the JSON contract first, regenerate documentation/defaults/catalog/tokens, then run model, DOM and recipient checks. Link the changed finding IDs and evidence in the release review.",
"compatibility": "Keep hue-named CSS tokens as compatibility aliases while semantic consumers migrate. Additive tokens retain schemaVersion 1. A removed/renamed key or changed stored meaning requires a schema migration, a version bump and a documented replacement before release. Keep the prior reader fixture until the migration is verified.",
"deprecation": "Record old key, replacement, reason, introduced version, planned removal version and affected consumers. Do not remove a token while an active consumer still uses it. Future records are preserved rather than coerced.",
"scope": "This is a web design system with one shared workspace profile. Native dp/sp adaptation and real agent execution require separate adapters and acceptance. User-defined colors and responsive exceptions require product-specific rendered verification."
},
"storage": {
"version": 1,
"legacy": "Unversioned valid records migrate in memory. Typography headingScaleVersion 2 applies the smaller six-heading scale once to older records, retaining other roles and existing font/color/style metrics. Later custom size edits are retained. Unsupported future records are preserved. The next successful write stamps the migrated version.",
"future": "Reject unsupported future versions. Preserve raw data. Offer backup and explicit reset.",
"invalid": "Foundation selections preview locally until Save foundation succeeds. Saved Foundation editors require Edit foundation before changes. Cancel discards the preview. Invalid drafts never replace saved records; storage failures retain the editable preview and the last durable record.",
"concurrency": "A storage event refreshes applied tokens and disables stale editor controls until reload. Never merge simultaneous edits silently."
},
"units": {
"base": "1rem = 16px at default browser settings. Do not fix the root font size.",
"use": "Prefer rem for typography, spacing and control dimensions. Hairline borders and viewport thresholds may use px. Both equivalents appear in Markdown. SVG strokes use viewBox units. Ratios, percentages, columns, timing and weights are unitless or retain their own units.",
"native": "Web CSS px/rem are not native dp/sp. A native adapter must map semantic roles, support text scaling and test device density. Native rendering is not shipped by this web library."
},
"acceptance": [
"Compare page, applied tokens, durable record, Machine View and exported instructions.",
"Test valid, unfinished, invalid, missing, malformed, legacy and future records. Exercise storage failure, reset, reload and another tab.",
"Test 320, 375, 768, 1024 and 1440px widths, 200% zoom, text-spacing overrides, RTL and long/localized labels.",
"Use keyboard and screen reader. Confirm focus return, names, values, error associations and status announcements.",
"Verify actual rendered text/surface pairs, forced colors, reduced motion, print and exported recipes in a recipient fixture. Source or DOM checks alone are not rendered acceptance."
],
"layers": {
"content": 0,
"sticky": 20,
"popover": 40,
"scrim": 60,
"dialog": 70,
"toast": 80,
"tooltip": 90,
"rules": "Each overlay gets an explicit owner and close/focus-return path. Portal menus out of clipped scroll containers. Nested dialogs stack one scrim per modal owner. Escape closes the top dismissible layer. Tooltips never block actions. Test collision and zoom; do not infer stacking order from shadow size."
},
"section": {
"title": "Design Principles",
"rules": {
"Flow and use": "Introduce shared values, then use eleven stable, keyboard-accessible section links for the values and ten principles. Do/Don\u2019t examples are static illustrations; example inputs are read-only, named and outside the tab order. Describe transitions as implementation guidance and respect reduced-motion preferences. Apply principles through concrete component states, accessible reading order, reflow and recovery.",
"Handoff": "Keep one Copy guide action and a link to Markdown Export with project context. Collapse the duplicate Markdown preview by default; reveal and focus it if clipboard access fails. Export the merged values, principles and current rules without including export controls. Explain exceptions with the product constraint and verification evidence. A principle alone does not prove a component is accessible.",
"Values": "Introduce Legible, Consistent, Honest and Adaptive as shared decision-making values, followed by the ten practical principles. Keep one Design Principles navigation item; legacy Design Values links redirect to this introduction."
}
}
}