Design Language
The visual foundations every component draws on: type, color, spacing, icons, motion, elevation and brand. Interviewers ask because it keeps separately built screens reading as one product.
part ofDesign systems & UX foundationsoverview, primer and where to startread it →on this pageshowhide
explore
- Brand & Voice20 questions
- Visual Identity in UI4 questions
- Tone by Context4 questions
- Content Style Guide5 questions
- Logo Usage3 questions
- Product Principles & Vision4 questions
- Color Systems20 questions
- Palette Scales4 questions
- Functional Palettes4 questions
- Accessible Pairings4 questions
- Dark Palettes4 questions
- Data Visualization Palettes4 questions
- Typography20 questions
- Type Scale4 questions
- Text Styles & Hierarchy4 questions
- Readability Rules4 questions
- Responsive Type4 questions
- Multi-Script Type4 questions
- Spacing & Layout18 questions
- Units & Density Independence4 questions
- Whitespace Scale5 questions
- Column Grids5 questions
- Breakpoint Strategy4 questions
- Elevation & Shape5 questions
- Iconography24 questions
- Icon Grid & Keylines3 questions
- Icon Style Rules4 questions
- Icon Sizes4 questions
- Icon Naming & Keywords4 questions
- Icon Text Alternatives5 questions
- Icon Delivery Formats4 questions
- Motion & Animation13 questions
- Duration & Easing4 questions
- Choreography & Continuity5 questions
- Vestibular Safety4 questions
questions
120 · 7 sectionsIn a payroll product's content style guide, what structure should an error message follow, for example when a pay run fails validation?
basics
~20 sSay what happened in plain words, specific to the item; say why if it helps; and say how to fix it or what to do next. Avoid bare codes, blame and a vague 'Something went wrong'.
In a hospital patient portal, why should the lab-results screen carry less brand expression than the public marketing homepage?
basics
~20 sMarketing pages exist to make an impression; task screens exist to get a job done. On a results screen, flourishes compete with the content and brand color can be misread as meaning, so the brand shows through a few consistent touches.
For a logo in a restaurant point-of-sale tablet app, what do clear-space and minimum-size rules require, and what if the header bar is too small?
basics
~20 sClear space is a protected margin around the logo, measured in a unit from the logo so it scales; minimum size is its smallest legible rendering. When a header cannot honour both, use a compact approved lockup, never a squeezed one.
In product design, how does a vision statement differ from a set of design principles, and when does a team reach for each?
basics
~20 sA vision statement describes the future the product aims to create for its users; design principles are short, product-specific rules for choosing between options. The vision sets direction and priorities; principles settle everyday design decisions and review debates.
On a hotel booking site, why should a payment-failed message drop the playful tone used in the booking-confirmed message?
basics
~20 sA failed payment leaves the guest stressed and at risk of losing the room. Humour there reads as not taking the problem seriously and slows them down; a calm, plain tone that helps them recover respects their state.
In a data-visualization palette system, when do you use a categorical, a sequential or a diverging palette?
basics
~20 sCategorical palettes give unordered groups distinct hues of similar weight; sequential palettes show ordered magnitude with steadily changing lightness; diverging palettes show deviation from a meaningful midpoint with two hues darkening outward from a neutral center.
In a design system, what are functional color roles like success, warning, error and info, and why define them centrally rather than per team?
basics
~20 sFunctional color roles give colors fixed meanings: success, warning, error, info, interactive states and surfaces. Defining them once means every screen sends the same signal, users learn it, and the system guarantees contrast and a non-color cue centrally.
In a design system, why is a dark palette designed step by step rather than produced by inverting the light palette's colors?
basics
~20 sInverting colors flips hues, breaking brand and status meaning, fails to preserve contrast ratios, makes saturated accents glare and reverses elevation cues. A dark palette is designed: dark gray surfaces, off-white text, softened accents, lighter raised surfaces, every pair re-checked.
In a design system's functional palette, how should hover, pressed, focus and disabled colors be derived, and why is focus treated differently from hover?
basics
~20 sHover and pressed are usually derived by rule: a darker step or a translucent layer over the base. Focus gets its own strong, non-hue indicator, because WCAG 2.4.7 requires it and a TV-remote user has no other position cue.
In a design system's color ramps, how can tone steps be designed so any two tones a fixed number of steps apart pass WCAG contrast?
basics
~20 sGive every step a target relative luminance shared by all hues, and space steps so neighbours differ by a constant contrast ratio. Contrast then depends only on step distance, so one published distance per threshold holds for every hue.
In a design system, what is a semantic text style such as heading, body or caption, and why use named styles over raw sizes?
basics
~20 sA semantic text style is a named typographic role, such as body or caption, that bundles size, weight, line height and letter spacing. Teams choose the role, not the numbers, so text stays consistent and one edit updates every screen.
When an accounting app's design system adds Arabic and Hebrew, which parts of the interface should mirror in right-to-left layouts, and which should not?
basics
~20 sMirror whatever follows reading direction: layout order, alignment, navigation, back and forward arrows, steppers and progress. Do not mirror numbers and amounts, logos, checkmarks or icons of real objects; left-to-right runs keep their order inside right-to-left text.
In a design system for web and native apps, why must text follow the user's text-size setting, and how must layouts adapt?
basics
~20 sMany readers raise the system or browser text size because they need it, and fixed sizes ignore them. A system defines text styles relative to that setting, and layouts let text wrap, containers grow and horizontal rows stack at large sizes.
In a design system, what is a modular type scale, and how does a 1.25 ratio from a 16 base generate its sizes?
basics
~20 sA modular type scale is a small set of font sizes where each step is the previous one multiplied by a fixed ratio. From a base of 16 at 1.25, the steps run 12.8, 16, 20, 25, 31.25 and 39.06, then get rounded.
In a design system, why should a text style's visual prominence be chosen independently of the heading level the text is exposed as?
basics
~20 sHeading level describes the document outline that assistive technology users navigate, while a text style describes visual prominence. A card title may need level 3 but a small style, and a large fare is not a heading at all, so each is chosen separately.
In a design system, why give breakpoints names such as compact, medium and expanded rather than pixel values or device labels?
basics
~20 sNamed window-width classes give designers, web and native engineers one vocabulary for ranges of available space. They describe the window rather than the hardware, so split-screen, resizing and zoom land in the right layout, and thresholds can change without rewriting specs.
In a design system's column grid, what are columns, gutters and margins, and what job does each one do?
basics
~20 sColumns are the vertical tracks that content spans; gutters are the fixed spaces between columns that keep neighbouring content apart; margins are the space between the outer columns and the window edge. Together they give every screen shared alignment lines.
In a design system, why use a spacing scale built on a base unit such as 8 instead of choosing each space case by case?
basics
~20 sA spacing scale replaces endless one-off guesses with a few shared steps, so screens share one rhythm and are quicker to design, build and review. A base unit such as 4 or 8 makes every step a simple multiple.
In a design system shipped to web and native mobile, why are sizes specified in density-independent units rather than physical device pixels?
basics
~20 sScreens differ several-fold in pixel density, so a size given in hardware pixels renders at a different size on each. Density-independent units are multiplied by each device's scale factor, giving roughly one perceived size everywhere from a single spec.
In a design system, what are inset, stack and inline spacing, and why define them as separate roles?
basics
~20 sInset is the space inside a container around its content, stack is the vertical space between stacked elements, and inline is the horizontal space between items in a row. Naming the roles makes intent explicit and clarifies who owns each space.
In a design system, what do elevation levels communicate, and why define a few named levels rather than per-component shadows?
basics
~20 sElevation levels show how far a surface sits above others, signalling hierarchy, temporariness and focus. A few named levels, each mapped to one shadow or tone, keep one consistent light model and let the system retune depth in one place.
In a design system's dark theme, why do shadows convey elevation poorly, and how does tonal elevation replace them?
basics
~20 sA shadow is darker than the surface behind it, and on a near-black background there is little darker left, so depth disappears. Tonal elevation makes higher surfaces progressively lighter, one tone step per level, so depth reads through brightness instead.
In a design system, when should content be separated with spacing, a divider, a border, or elevation?
basics
~20 sUse the weakest separator that works: spacing groups related content by default, dividers separate dense uniform rows, borders mark a container's or control's boundary, and elevation marks a surface that sits above or moves over others.
In a design system, how should a corner radius scale be defined, and what rule keeps nested rounded corners looking concentric?
basics
~20 sDefine a few radius steps, from none to fully rounded, mapped to roles such as control and container so small parts get small radii. When one rounded surface sits inside another, give the inner radius the outer radius minus the inset, floored at zero.
In a game companion app's design system, a squad-invite toast hides behind an open sheet and a menu opened in a dialog appears beneath it; what layering rules fix this?
basics
~20 sDefine a named layer order by role, with toasts above sheets and dialogs, and add a relative rule: a surface opened from another appears directly above its opener, whatever its type. Visual elevation must follow that order.
When is an icon on a car-rental vehicle card decorative rather than meaningful, and what does each kind need?
basics
~20 sAn icon is decorative when nearby visible text already carries its meaning or it is pure ornament; hide it from assistive technology. It is meaningful when it carries information nothing else states; give it a text alternative naming that information.
What accessible name should a car-rental results page give an icon-only heart button that saves a car, and why?
basics
~20 sName it by its function, not its picture: “Save to favourites”, made unique per card, such as “Save compact hatchback to favourites”. Leave out the role word, and expose the saved status as a pressed state or a changing name.
In a design system, why is an icon's glyph size kept separate from its tappable area?
basics
~20 sGlyph size serves visual hierarchy and pairing with text, while the tappable area serves the finger or pointer. A small icon becomes easy to tap by padding its hit area around an unchanged glyph, never by stretching the drawing.
In a music-streaming app's design system, why should a single-color icon inherit the surrounding text color rather than carry a fixed fill?
basics
~20 sAn icon that takes its color from surrounding text follows every state and theme its container handles — selected, disabled, dark surfaces, high-contrast settings — from one file. A fixed fill needs a file per color and breaks when surfaces change.
In an icon system, what are the canvas, live area and padding, and why is every icon drawn on the same canvas?
basics
~20 sThe canvas is the fixed square every icon is drawn on, the live area the inner zone for its main shapes, and padding the margin between them. A shared canvas lets any icon align and swap in controls without per-icon nudging.
In a design system's motion guidelines, how do you tell whether an animation explains a state change or is only decoration?
basics
~20 sRemove the motion and ask what the user loses. If they can no longer tell where something came from, went or what changed, the motion is functional; if they lose only a moment, it is decoration.
In interface motion design, which kinds of movement most often trigger vestibular symptoms, and what makes them risky?
basics
~20 sParallax, zooming or scaling, large areas sweeping across the screen, spinning, and motion the user did not directly cause. They signal that the viewer is moving while the inner ear feels stillness, and that conflict can cause dizziness, nausea and headaches.
For a design system's reduced-motion mode, why should most animations get a gentler alternative instead of simply being removed?
basics
~20 sMuch motion carries information: where a panel came from, that an action worked, that content is loading. Removing it all hides that information. Swapping travel, zoom and parallax for fades or clear instant changes keeps the meaning without the trigger.
In a design system's motion scale, why does a small nearby change get a shorter duration than a large panel crossing the screen?
basics
~20 sDuration grows with how far something moves and how much of the screen changes: a small change is understood at once, a large panel needs time for the eye to follow. Too long feels sluggish; too short reads as a jump.
In a design system's motion guidelines, why do enter and exit animations for the same element usually differ, and how?
basics
~20 sEntering content must be noticed and located, so it gets fuller motion showing where it came from. Exiting content was already dismissed, so it leaves faster and simpler, often a fade, unless its direction tells users where it went.