Visual UI Design and Design Systems

Turn wireframes into polished, consistent interfaces. Learn how visual hierarchy, typography, color and spacing grids make screens easy to scan and read; how components, design tokens and design systems keep a whole product consistent; how Material Design and Apple's Human Interface Guidelines shape apps on Android and iPhone; and how to build high-fidelity prototypes in a tool such as Figma and test them with users.

BeginnerLesson 7 of 9 in UX Design Course

What you will learn

  1. Rank content and actions by importance so people see what matters first, scan a screen quickly and recognize what they can tap or click.
    • Rank content with size, weight, color and position
      Use the visual tools of hierarchy to make the most important element dominant and everything else clearly secondary, then check the result.
    • Guide scanning with layout, grouping and white space
      Arrange content so people can scan a screen quickly, using known reading patterns, grouping, alignment, white space and progressive disclosure.
    • Make actions and their states clear
      Show which elements are interactive, which action matters most, and what state each control is in, with targets large enough to use.
  2. Choose and set typefaces for screens, build a type scale and text styles, apply a color system by role, and check that text and controls have enough contrast.
    • Choose and set typefaces for screens
      Pick legible typefaces for an interface and set size, weight, line height, line length and alignment so text is comfortable to read.
    • Build a type scale and text styles
      Create a limited set of text sizes, compare it with the Material and Apple scales, and save each combination as a named text style that supports text scaling.
    • Apply a color system to an interface
      Build an interface palette of neutrals, a primary color and semantic colors, assign colors by role, and adapt the system for dark themes.
    • Check contrast and color use for readability
      Calculate and test contrast ratios against WCAG levels for text and interface parts, and make sure meaning never depends on color alone.
  3. Use a consistent spacing scale and column grids so screens look orderly, group content clearly and adapt to different widths.
    • Use a spacing scale and the 8-point grid
      Choose spacing from a small scale based on a 4- or 8-unit base, apply it as padding and gaps, and use spacing to show grouping.
    • Lay out screens on column grids
      Set up columns, gutters and margins for phone, tablet and desktop widths, calculate column widths, and place content and safe areas on the grid.
  4. Create reusable components with variants and states, define styles and design tokens, and use, document and contribute to a design system.
    • Create reusable components with variants and states
      Build components with a clear anatomy, variant properties, all their states and flexible layout, and use instances without breaking the link to the main component.
    • Define styles and design tokens
      Store design decisions as named tokens in primitive, semantic and component tiers, use them for theming, and keep design files and code in sync.
    • Use, document and contribute to a design system
      Explain what a design system contains, use one to design faster, document a component, and follow governance when the system needs to change.
  5. Apply the conventions of Material Design and Apple's Human Interface Guidelines, and adapt one product across Android, iOS and the web.
    • Design Android and web interfaces with Material Design
      Use Material Design 3's units, color roles, type scale, shapes and core components to design screens that feel at home on Android.
    • Design iPhone and iPad interfaces with Apple's guidelines
      Use the Human Interface Guidelines' principles, units, system fonts and colors, navigation patterns and control sizes to design screens that feel at home on Apple devices.
    • Adapt one product across Android, iOS and the web
      Decide when to follow platform conventions and when to keep a shared design, and adapt navigation, controls and input methods for each platform.
  6. Turn wireframes into polished mockups with real content, build interactive prototypes with realistic motion, and test and refine them with users.
    • Turn wireframes into high-fidelity mockups
      Explain fidelity, decide when high fidelity is worth it, and build polished, consistent mockups with real content and every screen state.
    • Build an interactive prototype
      Connect mockups into flows with triggers, actions and transitions, add purposeful motion and interactive components, and keep the prototype focused on what will be tested.
    • Test and refine high-fidelity designs
      Plan usability tests for a high-fidelity prototype, interpret what the results say about the visual design, iterate, and prepare the work for presentation and development.

UI Design study guide

6 chapters

1

Build a clear visual hierarchy on a screen

A screen asks people to notice, understand and act in a useful order. Visual hierarchy supplies that order before anyone reads every word. Size, contrast and spacing create emphasis; headings and alignment make scanning easier; button styling and states show what can happen next. Work from the person’s task, then check both the whole screen and the smaller groups inside it, including how the controls behave with a keyboard.

1.1 Rank content with size, weight, color and position

A useful hierarchy answers three questions quickly: "What matters here?", "What supports it?" and "What can I do next?" Visual weight is the strength with which an element attracts attention. Arrange that weight around the user’s task.

Choose the order before choosing styles

Start by ranking information. On a product card, a shopper needs to identify the product, understand its price and find "Add to cart". A delivery note matters, but it should not compete equally with the purchase action. A practical starting point is three levels: primary for the main focus, secondary for supporting information and tertiary for details or metadata.

Size, font weight, color, contrast, position and white space all change visual weight. A larger or bolder item usually stands out. Saturated color and strong contrast pull attention. In a left-to-right layout, the top and leading edge are natural starting places. An item surrounded by empty space gains emphasis because it is separated from its neighbors.

These tools work through differences. Giving every element bold type and a bright background removes the differences that help people choose a starting point. Before making the main item larger, see whether supporting items can become quieter while remaining readable.

Work through a product card

Suppose the name, price, rating, delivery note and action all use 16 px regular black text. The content has no clear ranking.

  1. Give the product name 18 px semibold type so people can identify it.
  2. Set the price in 20 px bold type so the next key fact is easy to find.
  3. Set the rating and "Delivery in 2–3 days" in 14 px gray with sufficient text contrast.
  4. Put "Add to cart" in a filled accent-colored button across the bottom.

The card now supports a path from identification to price to action. Its quieter details remain available when the shopper needs them. This does not require every card to use those exact sizes; the useful decision is the relationship between the levels.

Check the strongest shapes

For a squint test, squint, step back or blur a screenshot until the words are unreadable. Look at the shapes that remain. A decorative image or promotion banner may dominate even though it contributes little to the immediate task. Reduce its saturation, size or background strength and check again.

A common conflict is a bright banner and primary button using the same strong accent. Choose the main focus for that section and reduce the banner’s weight, perhaps with a neutral or tinted background. Check in grayscale too: color needs support from weight, size, position or another visible cue.

Hierarchy also exists inside hierarchy. A page has a main focus, but each card, form section and dialog needs its own readable order. Reuse the same section-title style across screens so people can recognize a level without relearning it.

Key Takeaways

  • Rank information by the user’s task before styling it.
  • Build emphasis through differences in size, weight, contrast, position and space.
  • Keep supporting text readable when reducing its visual weight.
  • Use a squint test to find competing focal points.
  • Apply a consistent hierarchy inside components as well as across pages.

1.2 Guide scanning with layout, grouping and white space

People often look for a useful heading or label before they commit to reading a page. Layout can make that search quick by revealing the content’s structure.

Give scanning useful stopping points

The F-shaped scanning pattern, described in Nielsen Norman Group’s eye-tracking work first published in 2006, occurs on text-heavy pages without strong formatting: people scan across the top, across a shorter line below, then down the left side. Descriptive headings and informative opening words give them better routes through the content.

Other patterns describe different tasks. In layer-cake scanning, people move through headings and subheadings. In spotted scanning, they jump to a number, keyword or link. The Z-pattern is a layout heuristic for sparse pages: top left, top right, bottom left, then bottom right toward a call to action. Use it as an arrangement to consider, not a prediction for every visitor.

Front-loading puts the useful words first. "Shipping address" tells a scanning reader more quickly than "Please enter the address where we should send your order". "Billing: update card" exposes both topic and action at the start.

Show relationships with space

Close items look related. Put a label close to its field and use a larger gap before the next group. Shared headings or containers can reinforce the relationship. Try spacing before adding a border or divider; a box around every small group makes a screen harder to scan.

White space has two scales. Micro white space includes line spacing, letter spacing and the room inside a button. Macro white space separates sections and provides page margins. An expert dashboard may use a dense layout because comparing many values is the task. Even there, deliberate spacing must show which values belong together.

Start-aligned text creates a stable edge the eye can follow. Long centered paragraphs move the start of each line and slow the search. Labels directly above fields are especially useful in a single-column form on a narrow screen. Indentation can show that one option belongs under another.

Reorganize a settings screen

A screen contains 14 switches in a single list. First group them under "Notifications", "Privacy" and "Account". Use 24 px above each heading and 8 px between the heading and its first row. The larger separation distinguishes groups; the smaller separation connects a heading to its contents. Place the rare "Delete account" action at the bottom of Account with destructive-action styling.

Progressive disclosure moves less-used or advanced choices behind an expandable section, menu or next screen. It reduces the amount a beginner must process at once. Keep frequent actions visible: hiding a daily action adds work every time it is needed.

For right-to-left interfaces, the leading edge is the right edge. Navigation, text starts and back controls adapt to that direction. Naming positions "leading" and "trailing" helps describe the relationship without locking it to left and right.

Key Takeaways

  • Front-load headings and labels with words people are searching for.
  • Use smaller gaps within groups and larger gaps between groups.
  • Align text and controls to a clear leading edge.
  • Keep frequent actions visible when using progressive disclosure.
  • Treat scanning patterns as guidance tied to content and task.
  • Use leading and trailing positions for layouts that support both reading directions.

1.3 Make actions and their states clear

A person must be able to recognize an action before using it. The shape, label and state of a control work together to show what it does and whether it has responded.

Make actions recognizable

An affordance is an action an element allows, such as typing or dragging. A signifier is the cue that reveals it: a filled button, an underlined link or a drag handle. Plain text that secretly responds to a tap has a weak signifier.

Give a screen or section one primary action. Filled buttons carry strong emphasis; outlined or tinted buttons support alternatives; text buttons carry less emphasis. Material’s common button types are filled, filled tonal, outlined, text and elevated. Choose the emphasis to match the action’s role.

Use links for navigation and buttons for actions such as saving or deleting. Appearance alone does not decide which is which: a text button has no filled container, and a navigation link can look like a button. Make the label and behavior agree. In body text, underlining helps people recognize links without relying only on color.

Name the result with a verb: "Save changes" or "Delete file". "Yes" and "OK" require the person to reread the surrounding message. Protect irreversible deletion with confirmation. For a frequent reversible action, an "Undo" message often avoids repeated interruption.

Design more than the resting state

A control may be enabled, hovered, focused, pressed, selected, disabled, loading or in error. Material state layers use a translucent overlay to show interaction states. Loading feedback tells people that a press worked and can prevent duplicate submissions.

Focus identifies the element receiving keyboard input. Selection identifies a chosen option. Moving focus does not by itself mean that the person has chosen or activated an item. Give focus its own visible treatment, such as a 2 px contrasting outline. WCAG requires visible keyboard focus at level AA; removing the browser outline requires a usable replacement.

Disabled controls are exempt from contrast rules, but their pale appearance does not explain what is missing. Keeping "Continue" enabled and showing a useful field message after activation can give clearer help. A secondary action still needs to look enabled.

Make the target easy to hit
ContextTarget guidance
Material touchAt least 48×48 dp, with at least 8 dp between targets
iPhone and iPadDefault control size 44×44 pt; minimum 28×28 pt
Web, WCAG 2.2 AAAt least 24×24 CSS px, with defined exceptions including inline links and sufficient spacing

The visible icon can be smaller than its target. A 24 dp icon with 12 dp padding on each side occupies a 48 dp target.

At the bottom of a sign-up form, make "Create account" the filled primary button and "Sign in instead" a quieter text action. After activation, show "Creating account…" with a progress indicator and ignore repeated taps during submission. The label, emphasis and loading behavior now tell one coherent story.

Key Takeaways

  • Use signifiers to make possible actions visible.
  • Match button emphasis and labels to the action’s purpose.
  • Distinguish keyboard focus from selection.
  • Design loading, error and disabled states as well as enabled states.
  • Size the hit area separately from the visible icon when needed.
  • Protect destructive actions with confirmation or a suitable Undo path.
2

Use typography and color to make interfaces readable

Readable interfaces depend on the relationship between text, color and the surface behind them. A typeface must make characters clear, a type scale must make levels predictable, and color roles must keep meaning consistent across screens. Contrast checks turn visual guesses into measurable decisions. Work through these choices as a system, then test the actual combinations in light and dark themes and with larger text.

2.1 Choose and set typefaces for screens

Good interface typography makes letters easy to distinguish and longer passages comfortable to read. Legibility concerns individual characters; readability concerns the experience of reading whole blocks.

Choose a useful family

Look for open letter shapes, a generous x-height and clear differences between I, l and 1 and between O and 0. For numeric tables, tabular figures give each digit equal width so values align. Sans-serif faces are common in interfaces; serif faces can work well for longer reading at comfortable sizes.

One family is often enough. If a product uses two, give them clear jobs, such as headings and body text. Build further hierarchy with size and weight. Regular is commonly 400, medium 500, semibold 600 and bold 700. Thin weights are difficult at small sizes.

System fonts need no download and fit their platform: San Francisco, including SF Pro, on Apple devices; Roboto as Material’s default; New York as Apple’s serif companion. A web interface can use a system font stack or a web font. A variable font stores a continuous range of weights in one file.

Set the text block

Typical body sizes are 17 pt on iOS, 16 sp for Material body large, and 16 CSS px on the web. Apple lists 11 pt as a minimum on iPhone and iPad. Captions often use 12–14 platform units because they carry secondary information.

Line height is the distance from one text line to the next. Body text often works at 1.4–1.6 times its size. For 16 px text at 24 px line height:

24÷16=1.5

Large headings often use tighter ratios around 1.1–1.3. Keep body lines around 45–75 characters, including spaces; limit the text column on wide screens so a reader can find the next line.

Start-align paragraphs. Centering suits short text such as an empty-state heading. Justification can create distracting gaps, and long all-capital passages slow reading. Reserve underlining for links on the web; short capitalized labels can use a little extra letter spacing.

Let text grow

CSS px is a reference pixel. A web rem is relative to the root font size; it follows the user’s browser preference when that root remains at the default or a percentage of it. A fixed px root can override the preference. Android uses dp for layout and sp for text; Apple uses pt with scalable text styles.

WCAG asks for text resizing to 200% and for content to remain usable with specified text-spacing changes, including line height at 1.5 times the font size and paragraph spacing at 2 times. Fixed-height boxes often clip enlarged text. Let rows grow and text wrap.

For an article screen, use a 17 pt iOS body or 16 sp Android body, a 24-unit line height, a 28-unit semibold headline with 34-unit line height, and a 13-unit caption with sufficient contrast. On a tablet, constrain the body to about 65 characters per line and use the remaining width as margins.

Key Takeaways

  • Choose character shapes and weights for legibility.
  • Use size, line height, line length and alignment together.
  • Keep platform units explicit: CSS px or rem, dp and sp, or pt.
  • Allow wrapping and growing rows when users enlarge text.
  • Use tabular figures when numeric columns need alignment.

2.2 Build a type scale and text styles

A type scale limits the sizes a product uses. Named text styles then turn those sizes into reusable choices with a font, weight, line height and letter spacing.

Build a scale

A modular scale multiplies a base by a fixed ratio at each step. With a 16 px base and a ratio of 1.25:

16×1.25=20 20×1.25=25

The next sizes are 31.25 px and 39.06 px, commonly rounded to 31 px and 39 px. A step below the base divides: 16÷1.25=12.8 px, rounded to 13 px. A gentler 1.2 ratio gives 16, 19.2, 23.04 and 27.65 px. Small ratios suit dense interfaces; larger ratios create more dramatic differences on sparse pages.

A scale can also be hand-tuned. The point is a deliberate set of relationships that repeats across the product.

Read platform scales by role

Material 3 has 15 baseline styles: display, headline, title, body and label, each in large, medium and small. Examples in sp, written size/line height, are display large 57/64, headline large 32/40, title large 22/28, body large 16/24, body medium 14/20 and label large 14/20 in medium weight. Label small is 11/16.

Apple’s default styles use points. Large Title is 34/41; Title 1 is 28/34; Title 2 is 22/28; Title 3 is 20/25. Headline is 17/22 semibold and Body is 17/22 regular. Callout is 16/21, Subhead 15/20, Footnote 13/18, Caption 1 12/16 and Caption 2 11/13. Dynamic Type scales the styles with the system text-size setting.

Save the complete decision

Name a style by its role, such as "heading/large" or "label/button". "Roboto 16 bold" becomes misleading when the font or size changes. Most products use about 6–10 everyday styles even if their library offers more.

For a web dashboard, a 16 px base with a 1.25 ratio can become this practical set:

StyleSize/line height in CSS px
Small text13/20
Body16/24
Heading 320/28
Heading 225/32
Heading 131/40
Display39/48

The line-height ratios tighten as type grows: 1.5 for body, 1.4 for Heading 3, about 1.28 for Heading 2, 1.29 for Heading 1 and 1.23 for Display. All line heights are multiples of 4, helping the text fit the spacing rhythm.

Test the styles at large text settings. Apple recommends enlargement to at least 200%. On Android, use sp; on the web, rem with a preference-respecting root. Side-by-side labels may need to stack, and rows must grow. A reusable style cannot prevent clipping caused by a rigid container.

Key Takeaways

  • A type scale replaces arbitrary screen-by-screen sizes.
  • Multiply upward and divide downward on a modular scale.
  • Save font, size, weight, line height and spacing as a role-named style.
  • Use platform text styles to support user text settings.
  • Test the layout around enlarged text as well as the styles themselves.

2.3 Apply a color system to an interface

Color is easier to manage when each choice has a job. A palette supplies possible colors; color roles say where and why to use them.

Separate the jobs of color

Neutrals cover backgrounds, text, borders and most surfaces. A primary color marks key actions and important highlights. A secondary accent is optional. Semantic colors carry stable status meanings: red for errors, amber or orange for warnings, green for success and often blue for information.

Use a small, documented palette. Adding a slightly different blue on every screen makes updates difficult and weakens the product’s visual language. Giving ordinary promotions the error treatment blurs the meaning of an actual error. A red brand needs a deliberate action treatment that stays distinct from error feedback.

The 60-30-10 rule is a rough balance guide: about 60% dominant color, often a neutral background; 30% supporting surfaces and content; 10% accent. It helps judge emphasis, but it is not a required area calculation for every screen.

Pair each role with its content color

Common roles include primary, on-primary, surface, on-surface, outline, error and on-error. The on role is the text or icon color placed on the matching background. A button uses primary for its fill and on-primary for its label. Contrast belongs to that pair, not to either swatch by itself.

Material also offers primary container and on-primary container, secondary and tertiary roles, and several surface levels. Its tonal palettes range from tone 0, black, to tone 100, white. In the baseline scheme, light primary uses tone 40 with on-primary 100; dark primary uses tone 80 with on-primary 20. Dynamic color can generate a scheme from a brand source color or, on supported Android versions starting with Android 12, the person’s wallpaper.

Build and test a small scheme

For a budgeting interface, choose primary #0B57D0 with white on-primary. Add error #B3261E and success #2E7D32, each with white content. Their white-text ratios are 6.39:1, 6.54:1 and 5.13:1, so these pairs pass AA for normal text. Use white surface and #1F1F1F on-surface, a pair reaching 16.48:1. Define a warning role separately and test its content pair too.

Neutrals can have a slight tint toward the brand hue. A very dark gray can remain highly readable while feeling softer than pure black.

Design the dark theme separately

A dark theme needs its own pairings. Dark gray surfaces leave room for lighter raised surfaces; strongly saturated accents may feel harsh against them, so lighter, less saturated accents often work better. #E3E3E3 text on #121212 gives 14.60:1. Some products also provide a pure-black OLED option.

Do not invert every color mechanically. Reassign the roles, then inspect the real screens: a light button may need dark on-primary text, and an error message needs a new contrast check on its dark surface.

Key Takeaways

  • Assign colors to stable action, surface and status roles.
  • An on-color belongs to its matching background role.
  • Use a limited palette and keep semantic meanings consistent.
  • Treat 60-30-10 as a balance guide.
  • Create and check dark-theme pairs separately.
  • Dynamic color changes role values while preserving their jobs.

2.4 Check contrast and color use for readability

A color can look readable on a bright monitor and still fail a contrast requirement. Check the actual foreground and background pair, including the state and theme in which it appears.

Measure contrast

The WCAG contrast ratio compares relative luminance, the brightness calculated from linearized color channels:

Contrast ratio=L1+0.05L2+0.05

Here, L1 is the lighter color’s luminance and L2 is the darker color’s. Ratios range from 1:1 to 21:1. Luminance weights green by 0.7152, red by 0.2126 and blue by 0.0722, so equal channel values do not contribute equally to brightness. Use a contrast checker or design-tool plugin to calculate pairs.

Text categoryWCAG AAWCAG AAA
Normal text4.5:17:1
Large text3:14.5:1

Large means at least 18 pt, about 24 CSS px, or 14 pt bold, about 18.5 CSS px. A ratio of 4.48:1 fails 4.5:1; rounding cannot turn failure into a pass.

Read a check correctly

On white, #767676 reaches 4.54:1 and passes normal-text AA. #777777 reaches 4.48:1 and fails. #9E9E9E reaches 2.68:1, below even the large-text threshold. #595959 reaches 7.00:1 and meets normal-text AAA.

White text on #4285F4 gives 3.56:1: it works for large text at AA, but not a normal 14–16 CSS px button label. Darker #0B57D0 raises that pair to 6.39:1.

Non-text contrast at AA requires 3:1 for visual parts needed to identify components, states and meaningful graphics. A field whose only boundary is #C4C4C4 on white has 1.74:1 and fails. #949494 reaches 3.03:1. Check important icons, checkbox outlines and custom focus treatments against their adjacent colors too.

Keep meaning available without color

Add a visible message and icon to an error, underline body links, label chart lines or vary their patterns, and use text to identify required fields. Red-green differences are particularly difficult for many people with color vision deficiency. The often-cited rates of about 1 in 12 men and 1 in 200 women concern people of Northern European descent, not every population.

Inactive controls, pure decoration, logos and incidental text within a picture containing other significant content have contrast exemptions. Informative placeholder text does not: it needs sufficient contrast and must not replace a persistent label.

Text over a photo or gradient needs checking at the worst background spot. A scrim or solid backing can stabilize the pair. Check hover, pressed, selected and error states in both themes. Grayscale and color-vision simulations add useful checks; neither replaces contrast measurement. Passing the ratio also leaves size and weight to judge. APCA models additional perceptual factors, while WCAG 2.2 uses the ratio above.

Key Takeaways

  • Apply 4.5:1 to normal text and 3:1 to large text at AA.
  • Do not round a failing ratio upward.
  • Check meaningful interface boundaries and graphics at 3:1.
  • Use another cue alongside color.
  • Check the worst background area and every relevant state and theme.
  • A passing ratio still needs readable size and weight.
3

Space and align layouts with a system

Spacing makes relationships visible, while a column grid gives screens a shared structure. These systems solve different problems: small gaps organize the parts inside a control, and columns align larger cards and panels across a page. Learn to name each kind of space, calculate widths without losing gutters, and leave room for system bars and cutouts. The result is a layout that can be repeated and adjusted without guessing at every measurement.

3.1 Use a spacing scale and the 8-point grid

A spacing system turns hundreds of small placement choices into a repeatable set of values. It also tells people which pieces belong together.

Start with a small scale

An 8-point grid uses spacing and sizes such as 8, 16, 24, 32, 40, 48 and 64 platform units, with 4 as a useful half step. Material aligns spacing and components to multiples of 4 dp; many values also fit an 8-unit rhythm. Name the values so a team can use the same choices in design and code.

One possible scale is space-1=4, space-2=8, space-3=12, space-4=16, space-5=24, space-6=32, space-7=48 and space-8=64. Larger steps become wider apart because a tiny change in a large gap is hard to notice. Multiples of 8 also produce whole physical pixels at common density factors: 8 units become 12 px at 1.5×, 16 px at 2× and 24 px at 3×.

Name the space you are changing
SpaceLocationExample
PaddingInside a container, from edge to content16 px inside a card
MarginOutside an elementSpace around a page section
GapBetween neighboring items in a row or stack8 px between title and body

Auto layout uses padding, gaps, direction and sizing rules to maintain these relationships as content changes. The equivalent concepts also appear in CSS flexbox and grid.

Use smaller spacing inside a related group than between separate groups. A card might have 16 px padding, 8 px between title and body, and 24 px before the next card. Giving every separation the same value erases the grouping. Arbitrary 13 px, 17 px and 22 px gaps are hard to repeat and maintain.

Work out a list row

A two-line row uses 12 px top and bottom padding. Its title is 16 px text with 24 px line height; the supporting text is 14 px with 20 px line height. With no extra gap between the text boxes:

12+24+20+12=68 px

The text block is 44 px tall. A 40 px avatar fits beside it, centered vertically, with a 16 px gap before the text. Left and right padding are 16 px. The row height is a multiple of 4 because 68=17×4.

Judge visible space as well as boxes

Line height adds space inside a text box. For a 16 px font box within a 24 px line box, the extra 8 px is often modeled as 4 px above and below. Actual visible letter shapes depend on the font. That is why a numeric gap next to text may look larger than the same gap between two solid shapes.

A baseline grid aligns the lines that letters sit on. Many interface teams use a simpler rhythm: align boxes to the spacing scale and use line heights divisible by 4. Keep any optical adjustment consistent. Preserve target spacing too: Material asks for at least 8 dp between touch targets, and Apple suggests about 12 pt padding around bordered or filled controls.

Key Takeaways

  • Use a small named scale for recurring spacing decisions.
  • Distinguish padding, margin and gap.
  • Make gaps within groups smaller than gaps between groups.
  • Include text line heights when calculating component height.
  • Check apparent gaps because visible letters do not fill their line boxes.

3.2 Lay out screens on column grids

A column grid divides the available width into places for content and spaces that separate it. Its three parts are columns, gutters between columns and margins at the outer edges.

Calculate the grid from the outside in

First subtract both outer margins from the frame width. Then remove the gutters before dividing the remaining width among the columns. With n columns, there are n − 1 internal gutters:

Column width=Content width−(n−1)×Gutter widthn

A 1440 px frame with two 120 px margins leaves 1200 px of content. For 12 columns and 24 px gutters, subtract 11×24=264 px. Divide the remaining 936 px by 12 to get 78 px per column.

A card spanning 4 columns also spans the 3 gutters inside that span:

4×78+3×24=384 px

Three cards fill the content area because 3×384+2×24=1200 px. The two remaining gutters separate the cards. Counting a gutter after the last column is a common width error.

Choose a useful column count

Four columns are common on phones, eight on tablets and twelve on desktop. Twelve supports halves, thirds, quarters and sixths. On a 360 dp phone with 16 dp margins, the content width is 328 dp. Four columns with 16 dp gutters give (328−48)÷4=70 dp each. Twelve columns with those gutters would give about 12.7 dp each, too narrow to be useful for this layout.

Android width classes describe the space available to the app:

ClassAvailable width
CompactUnder 600 dp
Medium600 dp to under 840 dp
Expanded840 dp to under 1200 dp
Large1200 dp to under 1600 dp
Extra-large1600 dp or more

A device can change class when its window changes. Choose a layout for available space instead of assuming every tablet has the same width.

Let the grid adapt

A fluid grid stretches its columns as the window grows. A fixed grid keeps a set content width, with expanding outer margins. Many sites combine them: fluid until a maximum content width, then fixed and centered.

Content normally starts and ends on column edges, spanning whole columns and internal gutters. Full-bleed backgrounds or images can reach beyond the margins. Inside a component, small parts follow the spacing scale. Almost-aligned edges that differ by 2–4 px look accidental; save consistent grid styles across screens.

Keep text and controls clear of system bars, camera cutouts, the Dynamic Island and home indicator using safe areas or system insets. Backgrounds can extend behind them. As width increases, a bottom navigation bar can become a rail or sidebar, leaving more room for content.

Key Takeaways

  • Subtract margins and all internal gutters before dividing into columns.
  • A span includes its columns and the gutters between them.
  • Choose grid structure from available window space.
  • Use fluid and fixed widths deliberately.
  • Keep interactive content clear of platform insets and cutouts.
  • Allow full-bleed backgrounds without losing purposeful alignment.
4

Build interfaces from components and a design system

A consistent product needs more than matching colors. Components reuse structure and behavior; tokens reuse design decisions; a design system explains when to use them and how they change. These layers let a small fix reach many screens. They also need clear ownership and realistic edge cases, so a library remains useful as the product grows. Build one element carefully, connect it to shared values, and document how another person should use it.

4.1 Create reusable components with variants and states

A component is an interface element defined once and reused. Each linked use is an instance. Changing the main component updates its instances, while permitted properties let each instance carry its own label or icon.

Describe its parts

Component anatomy names the pieces people design and build. A button has a container, label and optional leading icon. A field has a persistent label, input area, optional icons, helper text and error feedback. Shared part names help designers and developers discuss the same thing.

Atomic design organizes interfaces from small to large: atoms such as labels and buttons; molecules such as a search form; organisms such as a header containing navigation and search; templates defining page structure; and pages using that structure with real content. These levels help you reason about composition without prescribing a folder structure.

Choose variants and properties

A variant represents a meaningful version, such as primary versus secondary, or enabled versus focused. Keep size, type and state as distinct dimensions. Three types, three sizes and five states create:

3×3×5=45 variants

Doubling that set just to show and hide an icon would create 90. A boolean property can handle icon visibility. Text properties allow labels to change, and instance-swap properties let designers choose the icon. Add variants for real differences in design or behavior; use properties for allowed content changes.

Make content drive the layout

Auto layout specifies padding, gap and direction. Sizing rules decide whether something hugs its contents, fills its parent or keeps a fixed dimension. A button with 16 px horizontal padding can grow from "Save" to "Save and continue" without manual stretching.

Try long labels, translations, missing images, empty lists and loading states. Decide whether text wraps or truncates and whether the important information remains available. A reusable component should handle its realistic range of content before it is spread across many screens.

Build a field through its states

Keep the label above the input. Provide helper text below and an optional trailing icon. Add enabled, focused, filled, error and disabled states. A focused field can have a 2 px primary-colored outline. An error field uses an error-colored boundary, an icon and "Enter an email address like name@example.com". The text explains recovery, and the icon and message keep the meaning available without color.

Name the component consistently, for example "Button" with type = primary and size = large. Match code names where possible. If an instance needs a missing option, use or extend its properties, propose a variant, or ask the system owners. Detaching it removes the update link, so future shared fixes stop reaching that instance.

Key Takeaways

  • Use linked instances for reusable interface elements.
  • Name component anatomy before designing variants.
  • Separate meaningful variants from editable content properties.
  • Let auto layout adapt components to realistic content.
  • Keep instances linked so shared fixes continue to reach them.
  • Use text and icons alongside color for error feedback.

4.2 Define styles and design tokens

A design token stores a named design decision as data. Color, spacing, type size, corner radius, shadow and motion duration can all be shared this way. Tokens connect what the design file shows with what code implements.

Trace a decision through its tiers

A primitive token stores a raw value: blue-600 = #0B57D0. A semantic token gives that value a purpose: color-action-primary = blue-600. A component token applies the purpose to a particular part: button-primary-background = color-action-primary.

TierQuestion it answersExample
PrimitiveWhat values exist?blue-600
SemanticWhat is this value for?color-action-primary
ComponentWhere does this component use it?button-primary-background

A brand change can update a primitive or redirect the semantic alias. Components then receive the change through their references. Name tokens by purpose using a consistent order, such as color-background-danger-hover or space-inset-medium. A name like red-text becomes misleading if the color changes.

Switch themes by changing mappings

In light mode, color-surface can refer to white; in dark mode, to gray-900. A component that reads the semantic surface token follows the mapping. A hard-coded white surface stays white until someone changes it separately.

For an action button, the light-mode primary role can refer to color.blue.600, while the dark-mode role refers to color.blue.200. The component’s background token still points to the same action role. Its content color must also be mapped and checked: white on #0B57D0 gives 6.39:1, but a lighter dark-mode button commonly needs dark text.

Use styles and variables for different jobs

In Figma, a text style bundles properties including font family, size, weight and line height. Color, effect and layout grid styles also support reuse. Variables hold individual color, number, string or boolean values. Collections organize variables, modes provide alternatives such as light and dark, and aliases connect one variable to another.

The Design Tokens Community Group published its first stable Design Tokens Format Module, version 2025.10, on October 28, 2025. Its JSON format stores token types and values and allows aliases such as {color.blue.600}. Tools such as Style Dictionary can transform token data into CSS variables and Android or iOS outputs.

Start with recurring decisions: color, type, spacing, radius, elevation, motion and breakpoints. Hundreds of raw values without meaningful roles are difficult to use. Keep design and code connected to an agreed source and export process so matching names continue to mean matching decisions.

Key Takeaways

  • A token stores a named design decision as data.
  • Primitive, semantic and component tiers connect values to purpose and use.
  • Theming remaps semantic roles.
  • Styles bundle properties; variables store individual values and aliases.
  • Keep design and code synchronized through the agreed token source.

4.3 Use, document and contribute to a design system

A design system combines the standards, resources and working practices a team uses to build interfaces. A component library is one part of that system.

Know what the system contains

Foundations define principles and tokens for type, color, spacing, icons and motion. Component libraries provide reusable elements in design files and code. Patterns combine them for recurring tasks such as search, forms and empty states. Documentation explains use, content and accessibility. Governance assigns ownership and controls change.

A style guide mainly describes visual rules. A pattern library collects recurring solutions. A complete system connects these resources to maintained components and a process for improving them.

Reusable controls save work and carry useful accessibility features. Each finished screen still needs checks of its content, contrast, focus order and component combinations. The system also has a maintenance cost, so a team needs a reason to build custom resources and people responsible for them.

Choose and learn a system

A small team can adopt an existing system or adapt it through fonts, color roles and shape tokens. A custom system makes sense when product needs and long-term resources support it. Keep adaptations organized so later upstream updates remain practical.

Public systems include Material, Apple’s HIG and UI kits, IBM Carbon, Shopify Polaris, Microsoft Fluent, Atlassian, Salesforce Lightning and GOV.UK. Compare their treatment of a single component to see how visual examples, behavior and usage rules support one another.

A sticker sheet places components, variants and states together for quick use and visual review. It can expose two button heights that should have matched, but it does not supply all the guidance a team needs.

Document decisions others must make

For a component, explain its purpose and when another component fits better. Name its anatomy, variants, states and behavior. Show how it responds to different widths and content. Include label guidance, keyboard use, focus order, the name a screen reader announces, contrast, examples of good and poor use, and links to code and tokens.

Contribute a missing pattern

A team needs a promotional banner. First search the library: a card exists, and an alert exists. An alert communicates a system message, so using it for promotions would weaken its meaning. Propose a banner built from existing surface, text, spacing and radius tokens. Document "one per screen" and direct error messages to the alert component. Review, build, document and release the addition.

Ownership may be solitary, with one product team; centralized, with a dedicated system team; or federated, shared across teams. A contribution path makes exceptions visible and reusable. Silent one-off components gradually break consistency.

Semantic versioning uses major.minor.patch. A major release can break existing use, a minor adds compatible features, and a patch fixes bugs. A compatible new banner could appear in 2.3.0 with a changelog explaining its use.

Key Takeaways

  • A design system connects foundations, components, patterns, documentation and governance.
  • Reusable accessibility features still need checking in each screen.
  • Adopt, adapt or build according to product needs and maintenance capacity.
  • Search existing patterns before proposing an addition.
  • Document purpose, behavior, content and accessibility as well as appearance.
  • Use owners, review and versioned releases to manage change.
  • Feed justified exceptions back into the shared system.
5

Design within Material Design and Apple's guidelines

People arrive with habits learned in other apps. Material Design and Apple’s Human Interface Guidelines help your product fit those habits while preserving its own identity. Their units, type styles, navigation and controls differ, so copying a screen unchanged can carry the wrong expectations onto another platform. Compare the conventions, then decide which foundations stay shared and which interactions need a native treatment.

5.1 Design Android and web interfaces with Material Design

Material Design supplies guidance, components, tokens, design kits and code libraries for interfaces on Android, the web and other platforms. Material 3 arrived in 2021 with Material You and dynamic color. Material 3 Expressive extended its shape, color, type and motion options in 2025.

Work in logical units

Layout uses dp, density-independent pixels, and text uses sp, scale-independent pixels. At 160 dpi, 1 dp corresponds to 1 physical pixel. At other densities:

Physical pixels=dp×dpi160

At 320 dpi, a 48 dp target occupies 96 physical pixels. Changing density does not make the designer’s target 96 dp. Text in sp also responds to the user’s font-size setting. Material asks for touch targets of at least 48×48 dp and at least 8 dp between them.

Apply the foundations through roles

Color roles include primary, secondary, tertiary, surface, surface containers, outline and error, with matching on-colors. Dynamic color fills those jobs from a source such as wallpaper or a brand color. Keep using the roles as their values change between light, dark and dynamic schemes.

Roboto is the default typeface. The baseline scale provides 15 styles across display, headline, title, body and label. A product can change the font while preserving the jobs of those styles.

The baseline corner scale includes none 0 dp, extra small 4 dp, small 8 dp, medium 12 dp, large 16 dp, extra large 28 dp and full rounding. Newer libraries add further options. Choose named shapes consistently. Surface-container tones help show elevation, with restrained shadows for floating elements.

Pick components by their job

A top app bar carries the title, navigation and key actions. A bottom navigation bar commonly shows 3–5 top-level destinations on compact screens. A rail moves those destinations to the side when there is more width; a drawer can accommodate more. A floating action button, or FAB, holds the screen’s single key action, such as "Compose".

Cards group content; dialogs ask for focused decisions; snackbars show brief feedback with at most one action; chips represent compact choices or information. Filled and outlined fields and five common button types provide choices within the system. Hover, focus and pressed state layers communicate interaction.

Adapt an email screen

Use a top search area, message rows with 40 dp avatars and 16 dp margins, a "Compose" FAB and a bottom bar for "Mail", "Chat" and "Meetings". At 600 dp available width, the app enters the medium class and can use a navigation rail with messages beside the list.

Android’s system back gesture or button moves through history across apps. An app-bar up arrow can move within the app hierarchy. Preserve system back behavior; a copied iOS-style text back control is not its replacement. Jetpack Compose and Flutter Material libraries provide implementations of many of these patterns.

Key Takeaways

  • Use dp for layout and sp for scalable text.
  • Keep density conversion separate from logical design size.
  • Apply Material color, type and shape roles consistently.
  • Choose navigation and action components according to their jobs.
  • Support Android system back behavior.

5.2 Design iPhone and iPad interfaces with Apple's guidelines

Apple’s Human Interface Guidelines, or HIG, describe patterns for iOS, iPadOS, macOS, tvOS, visionOS and watchOS. Apple Design Resources provide UI kits, and SF Symbols provides icons that match system typography.

Understand the visual layers

Since 2025, Liquid Glass has given controls and navigation a translucent layer above content. Hierarchy separates that control layer from the content beneath it. Harmony connects interface shapes with the hardware’s rounded forms, and consistency links the experience across Apple platforms. Keep content readable beneath translucent controls and use system patterns to support appearance settings.

Use points and scalable styles

Apple design dimensions use points, written pt. At 1×, a point corresponds to one physical pixel; at 2×, to two pixels along each dimension; at 3×, to three. A 44 pt control is therefore 132 physical pixels tall at 3×, while the design dimension remains 44 pt.

SF Pro is the system sans-serif face on iPhone and iPad, and New York is the serif option. Body is 17 pt at the default setting and Large Title is 34 pt. Dynamic Type adjusts named text styles with the user’s size preference. Apple lists 17 pt as the default and 11 pt as the minimum text size on iPhone and iPad, and recommends supporting enlargement to at least 200%.

Semantic colors such as label, secondary label, system background and secondary system background adapt to light and dark appearance and Increase Contrast. A consistent tint marks interactive elements. Check text and controls in both appearances using WCAG AA contrast values as guidance.

Choose familiar navigation

A bottom tab bar switches among top-level sections. A navigation bar shows the screen title and the leading back control for a pushed detail screen. An edge swipe also supports going back. Wider iPad and Mac windows can replace top-level tabs with a sidebar.

Sheets support focused tasks. Because people may swipe down to dismiss one, also give a visible way to close or confirm. Reserve alerts for critical information. Place the main action in a navigation bar or toolbar when that fits the platform’s pattern.

Fit controls around the device

Apple lists 44×44 pt as the default control size and 28×28 pt as the minimum on iPhone and iPad. Suggested padding is about 12 pt around controls with a visible border or background and about 24 pt around controls without one. SF Symbols scales and matches weights with system text.

Safe areas protect text and controls from system bars, the camera area and home indicator; backgrounds can extend to the edges. Size classes describe compact or regular available width and height, so design for space instead of one device model.

For a recipe app, use tabs for "Discover", "Search", "Saved" and "Profile", each with an icon and label. A recipe opens as a detail screen with a navigation-bar back control. "Add to shopping list" opens a sheet with "Cancel" and "Add". Use Body for the recipe text so Dynamic Type can enlarge it.

Key Takeaways

  • Use pt for design dimensions and keep physical pixel scale separate.
  • Apply named text styles with Dynamic Type.
  • Use semantic colors for appearance and contrast settings.
  • Use tabs for top-level sections and navigation bars for pushed detail screens.
  • Give sheets a visible close or confirm action.
  • Respect safe areas and available size classes.

5.3 Adapt one product across Android, iOS and the web

A product can keep its identity across platforms while letting familiar controls behave as people expect. Jakob’s law describes the reason: people bring habits from the many other products they use.

Decide what to share

Teams can build fully native interfaces, share a system with platform adaptations, or ship one identical design everywhere. Identical layouts can reduce initial work but may feel unfamiliar. Shared tokens and components with adapted navigation and system controls offer a practical middle path.

Brand color, imagery, tone and the relationships in a type scale can remain recognizable. The platform still influences fonts, measurements, back behavior, pickers, switches and sharing controls.

DecisionAndroidApple platformsWeb
Layout and text unitsdp and spptCSS px and rem
Common system typefaceRobotoSF ProSystem stack or web font
Going backSystem back; app hierarchy upNavigation-bar back and edge swipeBrowser history and page navigation
Typical main actionFAB where appropriateNavigation bar or toolbar actionAction in the page’s task area
Preserve each input route

Touch needs adequate targets and has no hover. A pointer can use hover states and context menus. Keyboard input needs a logical focus order and visible focus. Essential instructions hidden only in a hover tooltip leave touch users without them. Put the information where all relevant input methods can reach it.

Platform target guidance uses different units: Material minimum touch targets are 48×48 dp; Apple’s default control size is 44×44 pt. WCAG 2.2 AA uses 24×24 CSS px with defined exceptions, while AAA uses 44×44 CSS px with its own exceptions. These numbers describe different systems and should keep their units.

On the web, link the logo to home, make links recognizable in body text, and support the keyboard throughout. Wide-screen navigation commonly sits at the top; narrow layouts may use a menu button. Hover can add feedback without becoming the only way to use an action.

Adapt a filtering task

A travel product uses the same filter choices and color roles everywhere. On iOS, filters can open in a sheet with "Cancel" and "Apply" in the top bar. On Android, use a full-screen dialog or bottom sheet with familiar close and apply controls. On desktop web, a sidebar can keep the filters beside the results.

Then test system preferences: larger text, dark appearance, increased contrast and reduced motion. Replace large sliding movement with a simpler fade when appropriate. The task and the filter meanings stay shared, while presentation and input behavior fit each environment.

Key Takeaways

  • Share product meaning and visual foundations across platforms.
  • Adapt navigation, system controls, units and input behavior.
  • Provide essential information without requiring hover.
  • Keep focus visible and keyboard order logical.
  • Check appearance, text size, contrast and motion preferences.
6

Create and test high-fidelity prototypes

A polished screen becomes useful evidence when people can try a complete task with realistic content and feedback. High fidelity brings color, type, imagery and interaction details into that test. Build mockups from tested structures, connect the paths the research needs, and preview them on the target device. After testing, distinguish interface failures from missing prototype behavior and use the findings to revise the right component or screen.

6.1 Turn wireframes into high-fidelity mockups

High fidelity brings a design close to the finished experience. It is most useful after low-fidelity work has tested the structure and basic flow, when the team needs to judge detailed styling and interaction.

Separate the dimensions of fidelity

Visual fidelity covers layout, color, typography and imagery. Content fidelity concerns realistic wording. Interaction fidelity covers what responds and how. Data fidelity concerns the range and realism of values shown. A beautiful static screen has high visual detail without being interactive.

ArtifactWhat it provides
WireframeStructure, often using simple boxes and placeholders
MockupA static screen with polished styling and realistic content
PrototypeAn interactive model, at low or high fidelity

A high-fidelity prototype connects polished screens into a working model of selected tasks. Building that polish before testing structure can draw feedback toward colors and make expensive layouts harder to discard.

Build the foundations into the screen

Begin with tested wireframes. Set the grid, spacing scale, text styles and color roles. Build from system components or a sticker sheet. Apply a clear hierarchy, replace placeholders, add consistent imagery and icons, then compare the design with the platform guidelines.

Use real or realistic content early. A card built around "Coffee" may fail with "Organic fair-trade medium roast whole bean coffee, 1 kg". Check empty data, a single item and a long list; the key-point example uses carts with 0, 1 and 250 items and names from 2 to 40 letters. Long content exposes wrapping and truncation problems that short placeholders conceal.

Complete the screen states

A populated screen is only one state. Add empty, loading, error and partial-content versions. An empty saved-recipes screen can explain "No saved recipes yet" and offer a way to discover recipes. A loading state can use skeleton shapes where content will appear. An error needs recovery, such as "Try again". Partial data needs a layout that remains understandable when some content is missing.

Use one icon family with consistent outlined or filled treatment, stroke width and grid, such as 24×24 units. Add labels where an icon’s meaning is uncertain. Keep image aspect ratios consistent and record which images need alternative text and what it should communicate.

Critique against a task

Before sharing, inspect repeated components, spacing values, color roles and text styles for stray choices. A design tool can reveal layers without styles or variables.

In a critique, state the user problem and ask for specific feedback. "The Pay button gets lost because the promo banner uses the same green" identifies a design cause. "I don’t like green" does not show how the task is affected. Listen, record the reasoning, ask for clarification and decide on changes after the discussion.

Key Takeaways

  • Fidelity includes visuals, content, interaction and data.
  • Use high fidelity after the structure and flow have been tested.
  • Replace short placeholders with realistic content ranges.
  • Design empty, loading, error and partial states.
  • Keep icons, images and reusable styles consistent.
  • Judge critique comments against the user problem.

6.2 Build an interactive prototype

An interactive prototype connects screens and component states so a person can attempt a task. Choose the task first; it determines which paths and details must work.

Connect the behavior

A Figma flow has a starting frame. A hotspot is an interactive layer. Each connection has a trigger, an action and, where needed, a destination and transition. "On click" can trigger "Navigate to" another screen. "Open overlay" presents a menu or sheet above the current screen; "Change to" switches a component variant.

Common triggers include On click, On drag, While hovering, While pressing, Mouse enter, Mouse leave, Key/Gamepad and After delay. Other actions include Back, Scroll to, Swap overlay, Close overlay, Open link, Set variable and Conditional. Select the trigger for the actual input and the action for the intended result.

Build in order: define the test flow, finish its frames, set its starting point, connect interactions, add transitions, then preview and repair the path. Several tasks can have separate flows within one file.

Add motion with a purpose

Instant shows the destination immediately and has no animated duration or easing. Dissolve fades between frames. Move in, Move out, Push, Slide in and Slide out introduce movement. Smart animate interpolates changes in matching layers, using names and positions in the layer hierarchy. Duplicating a frame before editing helps preserve those matches; unmatched layers dissolve.

Animated transitions have a duration and easing curve. Ease out starts quickly and ends slowly, useful for entering elements; ease in accelerates toward the end, useful for leaving. Many interface transitions take about 150–300 ms. Small press feedback can be faster; movement much longer than half a second often feels slow. Use motion to explain location, acknowledge action or guide attention. Offer simpler motion for reduced-motion preferences.

Work through checkout

Create Cart, Shipping, Payment, Payment error and Confirmation frames. Start the "Checkout" flow at Cart.

  1. Connect "Checkout" to Shipping with On click → Navigate to, Smart animate, ease out, 300 ms.
  2. Connect "Continue" on Shipping to Payment.
  3. Connect "Pay" to Confirmation with Dissolve, 200 ms.
  4. For an error task, connect its payment route to Payment error, with a message explaining how to retry.
  5. Use Back for return controls and an overlay for "Add promo code".

Build the error task as a deliberate alternative so its result is repeatable. Connect component hover, pressed and toggled variants with Change to for reusable behavior. Configure long-screen scrolling, fixed headers and any horizontal carousels.

Preview the complete task

A dead hotspot can look like a design failure to a participant. Include the main route, important alternatives and recovery paths needed by the test. Add variables or conditional logic when the task needs remembered choices or a working quantity. Preview on the target device: actual text size, reach, targets and daylight contrast are easier to judge there than in a desktop canvas.

Key Takeaways

  • Build complete test-task paths with explicit starting points.
  • Choose trigger, action and transition as separate decisions.
  • Keep matching layer names and hierarchy for Smart animate.
  • Use motion to explain a change and respect reduced motion.
  • Reuse interactive component variants.
  • Preview main paths, alternatives and recovery on the target device.

6.3 Test and refine high-fidelity designs

High-fidelity testing asks how final styling and realistic interactions affect a task. It adds detail to earlier testing: whether the main action survives competing imagery, icons make sense, feedback is noticed and motion helps people understand a change.

Plan tasks that reveal the design

Set research goals, recruit people who represent the users and choose moderated or unmoderated sessions. Match each task to a complete prototype flow and the device people will use. About five participants per round is a common rule of thumb for finding major problems in one user group; further rounds follow changes.

Write scenarios without naming the control. "You want to book a table for four people this Friday at 7 p.m." leaves the route for the participant to discover. "Click the Reserve button" supplies the answer and mainly tests finding a label.

Explain once that the design is being tested, not the person, and that some prototype areas may not work. A finished appearance can make people hesitant to criticize. Invite honest reactions, then record failures caused by a missing connection separately from failures caused by the interface.

Choose evidence for the question

Record task success, errors, time, first clicks, satisfaction and comments. A first-click test checks where someone starts a task. A five-second test checks what they remember after brief exposure. A preference test can compare two looks, especially when participants explain the reasons for a choice.

A simulated prototype may not reproduce production speed or real data. Interpret timing in that setting, and inspect what happened during the attempt before assigning a cause.

Group related notes, for example with an affinity diagram, then prioritize by severity and frequency. If 4 of 5 participants cannot finish because "Apply filters" sits below the visible area, that blockage needs attention before a cosmetic detail mentioned once.

Fix the cause at the right level

In a test, 4 of 5 people miss a "Skip" link in #9E9E9E on white, a 2.68:1 pair. Change it to a text button in #595959, reaching 7.00:1, and place it in the familiar top-right location. If a shared component caused the issue, update the component so every linked screen receives the correction. In the next test round, check whether participants find it; the example’s next round has 5 of 5 successful attempts.

Several design changes happened together, so the result evaluates the revised treatment as a whole. Keep notes on what changed and what the next round shows.

Prepare the design for others

Annotate triggers, states, animation, duration, easing and tokens. Confirm that each screen’s needed states exist. Developers can inspect sizes and shared values in the design file, for example in Figma Dev Mode.

Present the user problem, the process, the design decisions, the findings and the changes that followed. Before-and-after mockups and a short clickable walkthrough make that reasoning concrete for a stakeholder review or portfolio case study.

Key Takeaways

  • Write realistic tasks without giving away interface labels.
  • Distinguish prototype limitations from interface failures.
  • Choose measures that match the research question.
  • Rank findings by severity and frequency.
  • Update shared causes and test the revision.
  • Present decisions with evidence and annotate the behavior needed for development.

UI Design examples

6 Walkthroughs

1

Make an Equipment Return Screen Easy to Use

13 steps
Shape the attention, grouping and controls of a screen for returning borrowed equipment.
  1. 1
    IntroductionStart with the person’s task

    A person opens an equipment-loan app to return a borrowed camera. The screen also contains loan details, a support link and a promotion for new equipment.

    The design needs to make the return route easy to recognize while keeping useful details available. We will rank the content, group related information and design controls whose appearance explains what happens next.

  2. 2
    ExplanationChoose an order of attention

    Visual hierarchy is the order in which people notice and read elements. For this screen, identify the camera and due date, then make the return action clear. Serial-number metadata can carry less weight.

    Use size, weight, contrast, position and empty space to create differences. A practical starting point is a main focus, supporting information and details. Making everything prominent removes the differences that create the order.

  3. 3
    ExampleReduce the promotion’s weight

    The promotion currently has a large saturated background. "Return camera" is plain text beside several other links.

    First make the return action a filled button with a clear label. Next give the promotion a quieter neutral surface and less space. Keep the due date readable near the camera name. The design has gained an action focus without enlarging every heading or hiding information about the loan.

  4. 4
    ChallengeCheck what survives a blur

    You blur the equipment screen until no words are readable. The promotion is still the strongest shape, while the return button nearly disappears. What should change?

    ---reveal---

    Lower the promotion’s relative weight and strengthen the return button’s signifier or contrast. The strongest shape should support the task. Merely making the text of every element bold would keep the competition and make the whole page louder.

  5. 5
    ExplanationMake headings useful for scanning

    People can scan headings before reading details. Start labels with words they are looking for: "Return location" is easier to identify than "Where you can bring this item back".

    Layer-cake scanning follows headings; spotted scanning jumps to a keyword or number. Long, weakly structured text can invite F-shaped scanning. Use meaningful headings and opening words to give people better stopping points.

  6. 6
    ExampleGroup loan details and return choices

    Place the camera name, due date and loan identifier together. Give the return-location heading a larger separation from that loan group, then put its choices close below it.

    Start-align headings and labels to create a stable scanning edge. Try space before adding dividers around every item. The larger outer gap separates topics, while smaller inner gaps show which heading belongs with which choices.

  7. 7
    ChallengeDecide what belongs under More

    Returning equipment is a common task. Downloading a historical loan statement is rare. A proposal puts both actions under "More". What should stay visible?

    ---reveal---

    Keep the return action directly visible. The statement can use progressive disclosure because it is rarely needed. Hiding both makes a frequent task slower every time; a calmer first view is useful only when it still supports the work people came to do.

  8. 8
    ExplanationGive actions visible cues

    A filled button suggests a press; an underlined text link suggests navigation. These are signifiers, the visible cues that reveal possible actions.

    Label the primary control "Confirm return" so it names a result. A support link can navigate to help, while confirmation performs an action. A text-only control can still be a button: its purpose depends on behavior and context as well as appearance.

  9. 9
    Key InsightFocus and selection tell different stories

    A locker choice can stay selected while keyboard focus moves to "Confirm return". Selection identifies the chosen locker; focus identifies the element receiving keyboard input.

    Design these states differently. A visible focus outline should remain apparent as the person moves between controls. Strengthening the selected locker alone does not show where a keyboard user is currently positioned.

  10. 10
    ExampleShow that confirmation is underway

    After the person activates "Confirm return", change its label to "Confirming return…" and show progress. Ignore repeated taps during that request.

    If the request fails, show a useful message and a retry route. A loading state acknowledges the input; an error state explains the next step. Leaving the unchanged button active can make a successful press look like no response and invite duplicate requests.

  11. 11
    ChallengeGive the icon enough room

    A return-location icon is 24 dp square. Its interactive area has only the same 24 dp dimensions. How can it meet Material’s minimum touch target while keeping the drawing the same size?

    ---reveal---

    Add 12 dp of interactive padding on every side. The total becomes 24+12+12=48 dp in each dimension. Keep at least 8 dp between neighboring touch targets; enlarging the hit area must not make it collide with another control.

  12. 12
    ChallengeReview the whole return route

    The revised screen has clear groups and a strong "Confirm return" button. The chosen locker is green with no other selection cue, and the return-location heading starts "Please choose where…". What two refinements help?

    ---reveal---

    Front-load the heading, for example "Return location", and add a visible selected cue such as a checked control or label. Grouping supports scanning, while meaning that depends only on green can be missed when color differences are hard to see.

  13. 13
    RecapUse three passes

    Review an interface in three passes: rank attention around the task, reveal relationships through headings and spacing, then inspect the controls and their states.

    On the equipment screen, those decisions connect the camera information to a clear return action and understandable feedback.

2

Set Type and Color for a Course Page

16 steps
Choose readable text, reusable styles and theme-safe color pairs for a course information screen.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionMake a course page readable
  2. 2
    ExplanationSeparate letter clarity from reading comfort
  3. 3
    ExampleSet the description block
  4. 4
    ChallengeDiagnose a difficult paragraph
  5. 5
    ExplanationMake the sizes a repeatable scale
  6. 6
    ExampleMove below the base
  7. 7
    ChallengeTest the scale at larger text sizes
  8. 8
    ExplanationName the jobs of the colors
  9. 9
    ExampleCreate the dark-theme mapping
  10. 10
    ChallengeTrace a theme inconsistency
  11. 11
    ExplanationUse the right contrast threshold
  12. 12
    ExampleCompare two ordinary labels
  13. 13
    ExplanationCheck more than letters
  14. 14
    ChallengeFind the weak area on the photo
  15. 15
    ChallengeReview the finished theme
  16. 16
    RecapCheck the combinations
3

Build a Document Library Grid

11 steps
Work out row height and card widths using a spacing scale and a column grid.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFit the content deliberately
  2. 2
    ExplanationGive each space a name
  3. 3
    ExampleCalculate the text stack
  4. 4
    ExampleAdd padding and check the neighbor
  5. 5
    ChallengeCheck a revised row
  6. 6
    ExplanationDivide columns and gutters
  7. 7
    ExampleFind one column’s width
  8. 8
    ExampleCalculate a three-column card
  9. 9
    ChallengeChange the grid’s structure
  10. 10
    ChallengeReview the spacing and grid together
  11. 11
    RecapKeep the two systems connected
4

Build and Maintain a Shared Preference Control

14 steps
Develop a reusable notification-preference control, connect its tokens and document it for other teams.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionSolve the shared problem once
  2. 2
    ExplanationName the component’s anatomy
  3. 3
    ExampleSeparate variants from editable content
  4. 4
    ExampleLet the control grow with its label
  5. 5
    ChallengeKeep a local edit linked
  6. 6
    ExplanationTrace the value to its purpose
  7. 7
    ExampleSwitch theme values together
  8. 8
    ChallengeChoose the right Figma feature
  9. 9
    ExplanationPut the control inside a system
  10. 10
    ExampleDocument a decision another team will face
  11. 11
    ChallengeReview a proposed addition
  12. 12
    ConnectionRelease the change clearly
  13. 13
    ChallengeFind the shared cause
  14. 14
    RecapMake reuse understandable
5

Adapt a Field Notebook Across Platforms

12 steps
Keep one product recognizable while adapting units, navigation and input to Android, Apple and the web.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionKeep the task and adapt the controls
  2. 2
    ExplanationUse Material units correctly
  3. 3
    ExampleChoose the Android navigation
  4. 4
    ChallengeCheck the Android controls
  5. 5
    ExplanationUse Apple system foundations
  6. 6
    ExampleChoose the iPhone navigation
  7. 7
    ChallengeKeep logical size separate
  8. 8
    ExplanationChoose the shared layer
  9. 9
    TipGive every input a route
  10. 10
    ChallengeAdapt a place filter
  11. 11
    ChallengeReview a shared implementation
  12. 12
    RecapPreserve meaning across environments
6

Prototype and Test a Museum Visit Reservation

16 steps
Build a realistic reservation flow, check its paths and use test evidence to revise it.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionChoose the task to model
  2. 2
    ExplanationChoose the needed fidelity
  3. 3
    ExampleBuild realistic screens and states
  4. 4
    ChallengeFind what the polished screen hides
  5. 5
    ExplanationSeparate the trigger from the response
  6. 6
    ExampleConnect the first part of the route
  7. 7
    ExampleBuild the recovery alternative
  8. 8
    ExplanationChoose the transition for its job
  9. 9
    ChallengeCheck an overlay interaction
  10. 10
    TipUse motion to explain change
  11. 11
    ExplanationAsk about the visitor’s goal
  12. 12
    ChallengeRepair a leading test task
  13. 13
    ExampleSeparate the observed failures
  14. 14
    ChallengeChoose the next revision
  15. 15
    ChallengeCheck readiness for the next session
  16. 16
    RecapShow the evidence behind the revision

UI Design practice questions

50 Practice Questions in 5 sets

Set 1: Apply Layout and Component Rules10 Practice Questions

Question 1 of 10

A resource card uses one accent-colored action and readable neutral details. A new badge is made larger and more saturated than the action, although it is secondary to the task. What should the designer check first?
  1. Whether the badge competes with the main task.
  2. Whether every label can use the badge’s larger size.
  3. Whether the action can use a second competing accent.
  4. Whether the badge can replace the action’s result label.
Show answerHide answer
Answer: A
The badge has gained enough weight to compete with the task’s main action, so its relative emphasis needs checking. Making every label larger would reduce differentiation across the card. A squint test can reveal whether lowering the badge’s weight restores the intended focus without making the action larger.

Question 2 of 10

A web form has an outlined secondary action, a filled primary action and a selected checkbox. Keyboard users cannot locate focus. On submission the primary action also stays unchanged and allows repeated requests. What revision addresses both failures?
  1. Give selection a thicker border and dim the secondary action.
  2. Make the primary action larger and move the checkbox.
  3. Keep the current states and add an extra confirmation dialog.
  4. Add distinct focus treatment and a submission loading state.
Show answerHide answer
Answer: D
Focus needs its own visible treatment so keyboard users can locate the element receiving input. A loading state then acknowledges submission and can block repeated requests. Thickening the selected checkbox changes a choice state, which does not show where keyboard focus is as it moves through the form.

Question 3 of 10

A web page uses rem text, but increasing the browser’s preferred font size has no effect. Its root font size is fixed at 16 px. What change addresses the cause?
  1. Keep the root fixed and increase letter spacing.
  2. Let the root respect the browser preference.
  3. Change all body text to fixed CSS px sizes.
  4. Fix paragraph heights to the default line count.
Show answerHide answer
Answer: B
Rem sizes are relative to the root, so a fixed 16 px root overrides the preference that should drive them. Leaving the root at the default or a percentage lets the user’s setting feed into the scale. Merely using rem elsewhere cannot restore a preference that the root has already replaced.

Question 4 of 10

A dark theme keeps its semantic action role but maps it to a much lighter blue. The previous white button text is now hard to read. What should change?
  1. Keep the white text because its role name is stable.
  2. Invert every other color to compensate for the button.
  3. Remap and check on-primary against the new fill.
  4. Apply the error foreground because it is a semantic color.
Show answerHide answer
Answer: C
The role name stays stable, but its foreground/background values must form a readable pair in each theme. A lighter action fill commonly needs a darker on-primary foreground, checked with the actual colors. Keeping white simply because it worked in light mode ignores the changed background luminance.

Question 5 of 10

A row uses 8 px vertical padding, a 24 px title line, a 20 px supporting line and a 4 px gap. A 56 px avatar sits beside the text, inside the same padding. What row height accommodates both?
  1. 64 px
  2. 68 px
  3. 72 px
  4. 80 px
Show answerHide answer
Answer: C
The text stack is 24+4+20=48 px tall, while the avatar is taller at 56 px. The row must accommodate that larger content height plus 16 px total vertical padding, giving 72 px. A 64 px row fits the text stack but overlooks the taller neighboring avatar.

Question 6 of 10

A content area is 1000 px wide, with 10 columns and 20 px gutters. How wide is an element spanning 3 columns?
  1. 286 px
  2. 300 px
  3. 246 px
  4. 306 px
Show answerHide answer
Answer: A
Nine gutters use 180 px, leaving 820 px and giving 82 px per column. Three columns plus their two internal gutters occupy 3×82+2×20=286 px. A 306 px answer adds a third gutter after the span, which belongs outside the element.

Question 7 of 10

A field instance needs different helper text, and the component already exposes a helper-text property. What change best keeps future shared fixes?
  1. Detach the instance and edit the text.
  2. Edit the exposed helper-text property.
  3. Create a new component for this field.
  4. Replace the field with a static copy.
Show answerHide answer
Answer: B
The existing property supports the local content change while preserving the link to the main component. Detaching also permits editing, but it breaks the update relationship and prevents future shared fixes from reaching that use. No new variant is needed for a text change the component already allows.

Question 8 of 10

A shared action role changes correctly between themes, but a dialog button stays dark blue in both. Inspection shows its background token points directly to a raw blue; other buttons use the action role. What is the most targeted repair?
  1. Create a new raw blue only for the dialog.
  2. Rename the raw blue to include "dark".
  3. Change the primitive value for every screen.
  4. Connect its background to the action role.
Show answerHide answer
Answer: D
The dialog bypasses the semantic role, so it misses the theme mapping that already works elsewhere. Reconnecting its component token to the action role repairs that route without changing unrelated uses of the primitive. Renaming a raw value does not alter which mapping the component reads.

Question 9 of 10

An Android message screen needs one prominent control for starting a new message. What Material component suits that role?
  1. Navigation rail
  2. Floating action button
  3. Top-level tab item
  4. Status snackbar
Show answerHide answer
Answer: B
A floating action button gives emphasis to a screen’s key action, such as starting a message. A navigation destination switches to a section instead of starting this action. A snackbar supplies brief feedback after an event and is not the persistent entry point for composing.

Question 10 of 10

A researcher wants to learn whether people can find how to reschedule a class. What task wording best tests that route?
  1. Tap "Edit" on the class detail screen.
  2. Find the "Reschedule" action in your bookings.
  3. Open your bookings and press the calendar icon.
  4. Move your class to another available date.
Show answerHide answer
Answer: D
A scenario about moving the booking gives the outcome without naming a control or supplying the route. Telling the person to press a calendar icon reveals the step the researcher wants to observe. The task can then show whether the screen’s labels and hierarchy help the person find their own way.
Set 2: Review Designs Across Screens10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A dashboard’s expert users compare many values throughout the day. A redesign hides the most-used filters under "More" to create extra white space. What is the strongest review finding?
  1. Dense layouts always need fewer values on screen.
  2. The extra white space makes all disclosure appropriate.
  3. The filters should be hidden under a different label.
  4. Frequent filters should remain directly available.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A role-named heading style changes from 24 px to 26 px. A colleague proposes renaming it "26 px heading". Why keep its existing role name?
  1. Its purpose stays stable when its numeric values change.
  2. Its font size will then adapt without a layout check.
  3. Its name makes every use pass contrast automatically.
  4. Its role prevents the need for other heading sizes.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A theme review finds three issues: a 16 CSS px regular label at 4.49:1, a required field boundary at 2.80:1, and a chart distinguishing lines only by red and green. What plan addresses all three at WCAG AA?
  1. Keep the label; darken the boundary; add chart patterns.
  2. Darken the label; keep the boundary; label chart lines.
  3. Darken both pairs to their thresholds; add chart labels.
  4. Enlarge only the label; recolor the boundary and chart.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A web grid is fluid up to a maximum content width of 1120 px. The current window is 1440 px wide. At this width it uses 8 columns and 24 px gutters, and a panel spans 5 columns. What are the centered outer margin and panel width?
  1. 160 px margin; 595 px panel
  2. 160 px margin; 691 px panel
  3. 80 px margin; 791 px panel
  4. 160 px margin; 715 px panel
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A Figma text style stores font family, weight, size and line height together. What is the most accurate description of this style?
  1. One value with light and dark modes.
  2. A bundle of reusable text properties.
  3. A raw color primitive with no purpose.
  4. A platform-specific pixel density.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A team needs shared guidance for an empty search result. Its library has an error alert but no empty-state pattern. The new pattern adds no breaking changes. What contribution plan best preserves the system?
  1. Use the error alert for empty results; document it and release a minor version.
  2. Review an empty-state pattern; document it and release a patch version.
  3. Publish the empty-state pattern directly; document it after the minor release.
  4. Review an empty-state pattern; document it and release a minor version.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An iPhone sheet has a swipe-down dismissal gesture but no visible way to finish or close it. What should be added?
  1. A visible close or confirm control.
  2. A second hidden swipe direction.
  3. An Android-style floating action button.
  4. A tab bar inside the sheet’s task.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A product is expanding from desktop web to Android and iPhone. Its desktop version uses hover-only help, browser history and a left filter sidebar. What adaptation best preserves the task across all three?
  1. Share roles and tap help; keep desktop navigation on phones.
  2. Share roles and adapt navigation; keep help hover-only.
  3. Share filter meanings and roles; adapt help and navigation.
  4. Share roles and accessible help; use one custom back route.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A team has tested the structure of a saved-items flow. Its next question concerns whether realistic imagery competes with the main action. What artifact fits that question?
  1. A paper sketch without images.
  2. A placeholder-only content outline.
  3. A high-fidelity mockup using realistic images.
  4. A list of component names without screens.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A test task asks participants to correct an invalid date. The prototype connects selection to an error screen, but the error screen has no working controls. What is the first repair?
  1. Connect the correction and retry route.
  2. Animate the error screen for longer.
  3. Add another successful selection screen.
  4. Remove the error message from the task.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Combine Evidence and Design Decisions10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A file manager confirms every reversible move, offers irreversible deletion through a faint text label, and shows the same treatment for focus and selection. What revision best fits all three problems?
  1. Keep move confirmation; brighten deletion; merge focus and selection.
  2. Offer Undo for moves; confirm deletion; separate focus from selection.
  3. Offer Undo for moves; skip deletion confirmation; strengthen selection.
  4. Remove move confirmation; use deletion on hover; strengthen focus.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An article view passes contrast checks and uses a scalable body style. At large text sizes, fixed-height cards clip lines; on wide screens, paragraphs stretch to 130 characters per line. What changes address the remaining reading problems?
  1. Increase contrast and keep all card dimensions fixed.
  2. Reduce the type scale until the cards fit their text.
  3. Allow card growth and constrain the text-column width.
  4. Center all paragraphs and shorten the line height.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A dashboard uses a 20 px base and a 1.25 ratio. What is the unrounded size one step below the base?
  1. 16 px
  2. 15 px
  3. 18.75 px
  4. 25 px
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A warning card is green like the success message, and a dark-theme action uses a new raw blue unrelated to the documented action role. What system revision best prevents the two inconsistencies from recurring?
  1. Rename the green "warning" and keep the raw action blue.
  2. Change the warning icon and detach the action component.
  3. Add a separate green and blue for every new screen.
  4. Separate warning from success; remap the action role.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A card’s title and body have 24 px between them, but separate cards have only 8 px between their edges. The action icons also sit in adjacent 32 dp targets with no gap. What plan repairs grouping and Material touch use?
  1. Use 8 px inside and 24 px outside; keep 32 dp targets.
  2. Use 24 px everywhere; enlarge targets but keep them touching.
  3. Use 8 px outside and 24 px inside; add 8 dp target gaps.
  4. Use 8 px inside, 24 px outside, 48 dp targets and 8 dp gaps.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A button set has 2 types, 3 sizes and 4 states. Icon visibility is a boolean property. How many type-size-state variants are needed?
  1. 24
  2. 48
  3. 12
  4. 9
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A new component passes its own keyboard checks. On a screen, unrelated content interrupts the focus order and an important instruction has poor contrast. Who still needs to act?
  1. Only the library team, because screen composition cannot affect access.
  2. The screen team, because composition and content need checking too.
  3. No team, because component checks cover every assembled screen.
  4. Only the content writer, because focus is controlled by text.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An Android app has four main destinations. Its window expands from 540 dp to 720 dp, leaving room beside the content. What navigation change fits Material’s wider-window pattern?
  1. Replace destinations with an iOS back-label stack.
  2. Keep the destinations but turn each into a dialog.
  3. Move the main destinations to a navigation rail.
  4. Put every destination in a separate action snackbar.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A person reaches a web control with a keyboard. What visible cue should identify where their input will go?
  1. A focus indicator
  2. A selection marker
  3. A disabled tint
  4. A mouse hover effect
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Five participants find an action but all stop at its disconnected destination. In another task, four miss a different action in a shared component. A reviewer wants to redesign both labels first. What sequence best protects the next test?
  1. Redesign both labels, keep the gaps and test the same file.
  2. Remove both tasks, polish the images and test preferences.
  3. Repair the path, revise the missed shared action and retest both tasks.
  4. Treat all nine attempts as discovery failures and enlarge both labels.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Check States, Themes and Task Paths10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A 20 dp square search icon has a hit area equal to its drawing. What equal padding on every side gives it Material’s minimum square touch target?
  1. 10 dp
  2. 12 dp
  3. 14 dp
  4. 16 dp
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A color named "on-error" belongs on what background role?
  1. Primary
  2. Surface
  3. Outline
  4. Error
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A field’s empty input area is white. Its 1.90:1 gray border is the only cue marking the field’s boundary. What change addresses WCAG AA non-text contrast?
  1. Darken the border to a measured 3.10:1.
  2. Increase placeholder text contrast to 4.70:1.
  3. Darken the border to a measured 2.90:1.
  4. Make the helper text bold at the same color.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A 1280 px frame has 80 px margins on each side. It uses 8 columns and 24 px gutters. What is the width of one column?
  1. 119 px
  2. 116 px
  3. 140 px
  4. 116.75 px
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A page displays every button variant and field state for quick reuse, but gives no ownership or usage guidance. What resource is it?
  1. A complete design system
  2. A screen-accessibility audit
  3. A sticker sheet
  4. A contribution workflow
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An iPhone app has three main sections and a detail page inside each section. What navigation combination fits these distinct jobs?
  1. A back button for sections and tabs for details.
  2. Tabs for sections; navigation-bar back for details.
  3. A sheet for sections and a tab bar for details.
  4. A FAB for sections and navigation-bar back for details.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A web form reveals essential password guidance only when the pointer hovers over an icon. It must also work on touch screens. What change best preserves access?
  1. Add a longer delay to the tooltip.
  2. Show the tooltip on clicks elsewhere.
  3. Make the hover icon’s color brighter.
  4. Show the guidance beside the field.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An interactive switch already has enabled and selected variants inside one component. What action should connect activation to the selected variant?
  1. Navigate to
  2. Change to
  3. Scroll to
  4. Open link
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

In a prototype test, 3 of 6 participants miss a real action, while 2 others find it but hit a missing connection. A reviewer reports "five people could not find the action." What analysis best supports a revision?
  1. Record three discovery failures and two prototype failures.
  2. Record five discovery failures and redesign the label.
  3. Record two discovery failures and three prototype failures.
  4. Record three successes and remove all failed attempts.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A details panel should appear above the review screen, but the prototype replaces that screen. A photo also dissolves despite matching layer names; its parent structure differs. No reduced-motion route exists. What revision addresses all three issues?
  1. Navigate to details; align the layer hierarchy; lengthen the motion.
  2. Open an overlay; rename matching layers only; offer a simple fade.
  3. Open an overlay; align the layer hierarchy; offer a simple fade.
  4. Navigate to details; align the layer hierarchy; offer a simple fade.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Read Screens and Make Clear Choices10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

On a delivery-tracking screen, the delivery time and a promotional banner are equally large and bright. The task is checking when a parcel arrives. What change best supports that task?
  1. Increase both elements equally.
  2. Reduce the banner’s visual weight.
  3. Give the banner a brighter color.
  4. Add bold headings to both elements.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A profile page needs a heading for controls that change how messages are delivered. What heading is easiest to scan for that purpose?
  1. Choose how we send messages
  2. Here you can manage messages
  3. Your preferences for messages
  4. Message delivery settings
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A table’s digit columns shift sideways as values change, although each value has the same number of digits. What type feature would stabilize the alignment?
  1. Tabular figures
  2. A larger x-height
  3. A lighter font weight
  4. A wider line height
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A type scale starts at 18 px and uses a ratio of 1.2. What is the unrounded size two steps above the base?
  1. 21.60 px
  2. 25.20 px
  3. 25.92 px
  4. 30.00 px
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A 15 CSS px regular label on a solid background measures 4.46:1. What is its WCAG AA text-contrast verdict?
  1. It passes because the ratio rounds to 4.5:1.
  2. It fails because normal text needs at least 4.5:1.
  3. It passes because button labels count as large text.
  4. It fails because all text requires at least 7:1.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A list row stacks two text lines with 28 px and 20 px line heights, a 4 px gap, and 8 px padding at both top and bottom. No other content is taller. How tall is the row?
  1. 52 px
  2. 60 px
  3. 64 px
  4. 68 px
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A shared button needs an optional leading icon. Its layout and existing types, sizes and states already work. How should the icon option be added without duplicating the whole variant set?
  1. Create a separate copy for every icon choice.
  2. Detach each button that needs an icon.
  3. Expose an icon-visibility boolean property.
  4. Replace all size variants with icon variants.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

What token tier gives a raw color the purpose "primary action"?
  1. Semantic token
  2. Primitive token
  3. Component token
  4. Export format
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A designer specifies a 56 dp control for a 480 dpi Android screen. How many physical pixels tall will it be?
  1. 84 px
  2. 112 px
  3. 144 px
  4. 168 px
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A high-fidelity event screen fits a short title but clips a long one, has no layout for an empty list, and uses an unfamiliar unlabeled icon for its main action. The basic flow was already tested. What preparation best supports the next design review?
  1. Shorten every title, keep a full list and retain the icon.
  2. Allow text growth, add the empty state and label the icon.
  3. Shrink all text, remove the empty list and label the icon.
  4. Allow text growth, keep a full list and enlarge the icon.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

98 Key Terms, each with its definition

A

Action
An action is the configured response to a prototype trigger, such as navigating, opening an overlay or changing a component variant.
The button uses "Open overlay" as its action to show the filter panel above the current screen.
Affinity diagram
An affinity diagram groups related observations into themes so a team can synthesize research notes and recognize repeated problems.
The team uses an affinity diagram to group comments about missed actions before prioritizing fixes.
Affordance
An affordance is an action an element allows someone to perform, such as entering text, pressing a control or dragging an item.
The text field’s affordance is text entry; its border and label help people recognize that possibility.
Anatomy
Anatomy names the parts of a component, providing a shared description of its required and optional interface elements.
The field’s anatomy identifies the label, input region, trailing icon and helper-message area.
Atomic design
Atomic design is a way to compose interfaces from atoms to molecules, organisms, templates and pages, moving from parts to full screens.
A label, input and button combine into a search molecule that can be reused in a larger page header.
Auto layout
Auto layout is a design-tool layout method that maintains padding, gaps and sizing relationships as component content changes.
Auto layout lets a button grow when "Save" changes to the longer label "Save and continue".

B

Baseline grid
A baseline grid is a regular set of horizontal guides used to align the lines on which text characters sit across a layout.
The design team uses a 4-unit baseline grid to keep repeated text blocks in a steady vertical rhythm.

C

Color role
A color role is a purpose assigned to a color, such as primary action, surface, outline or error, independent of its exact value.
The same action color role maps to a darker blue in light mode and a lighter blue in dark mode.
Column grid
A column grid divides the content area into columns and gutters, with outer margins defining its position inside the screen.
A twelve-column grid lets the designer arrange the page as three cards or a main panel with a sidebar.
Component
A component is a reusable interface element defined once with a structure, appearance and behavior that can be used repeatedly.
The shared text-field component carries its label, helper text and error treatment into several forms.
Component library
A component library is a collection of reusable interface elements and their variants, forming one part of a wider design system.
The designer selects a standard field from the component library before building the account form.
Component token
A component token applies a shared design role to a particular component part, making that use explicit within the token structure.
The primary button’s background token refers to the action role instead of choosing a new raw blue.
Contrast ratio
A contrast ratio compares the relative luminance of two colors, ranging from 1:1 for identical luminance to 21:1 for black and white.
A measured contrast ratio of 4.48:1 fails the 4.5:1 requirement for normal text at WCAG AA.
Cross-platform adaptation
Cross-platform adaptation preserves a product’s meaning and identity while adjusting controls, navigation and input to each environment.
Filters appear in a phone sheet and a desktop sidebar as two adaptations of the same product task.

D

Dark theme
A dark theme uses a coordinated set of dark surfaces and suitable foreground colors, with its own hierarchy and contrast checks.
The designer checks the light action surface and dark label together when reviewing the dark theme.
Design critique
A design critique is structured feedback that evaluates design decisions against the user problem and stated goals, with reasons.
In a design critique, reviewers explain how a banner competes with the booking action on a screen.
Design system
A design system connects interface foundations, reusable components, patterns, documentation and governance for a product or organization.
The design system explains when to use an alert as well as providing its design and coded component.
Design token
A design token stores a named design decision as data so design tools and code can share values such as color, spacing or duration.
The team updates a spacing token once instead of changing the same gap separately in many files.
dp
A dp is a density-independent layout unit used on Android, corresponding to one physical pixel at the reference density of 160 dpi.
The designer keeps a target at 48 dp while its physical pixel count changes on a denser display.
Dynamic color
Dynamic color generates a color scheme from a source color while assigning the resulting values to established interface roles.
The Android app uses dynamic color so a wallpaper-based scheme still has primary and surface roles.
Dynamic Type
Dynamic Type is Apple’s system text-size feature that lets supported named text styles scale with the person’s preferred reading size.
At a larger Dynamic Type setting, a recipe app’s Body text grows and its rows expand to fit it.

E

Easing
Easing controls how an animation’s speed changes over its duration, such as slowing near the end when an element enters a screen.
An ease-out curve helps the entering panel settle into place instead of moving at one unchanging speed.
Empty state
An empty state is the screen or component treatment shown when there is no content, often explaining why and offering a useful next step.
The saved-items empty state invites the person to find recipes after explaining that nothing is saved yet.

F

Fidelity
Fidelity describes how closely a design resembles the finished experience across visual detail, content, interaction and data.
The static screen has high visual fidelity, but its interaction fidelity remains low until it is connected.
First-click test
A first-click test records where a person first chooses to act when starting a task, revealing whether the initial route is clear.
The first-click test shows participants selecting a promotion before finding the account controls.
Five-second test
A five-second test checks what a person remembers after viewing a screen briefly, helping evaluate its immediate communication.
The five-second test asks what people remember about the screen’s main purpose after it disappears.
Fixed grid
A fixed grid keeps a set content width while its outer margins can grow as the surrounding window becomes wider.
The fixed grid remains centered when the desktop window gains space on either side of the content.
Floating action button
A floating action button is a prominent Material control for a screen’s key action, commonly positioned above the content surface.
The message list uses a floating action button for "Compose" while navigation remains in its own bar.
Flow
A flow is a connected path through a prototype with a defined starting point, usually organized around a task to be tested.
The "Change booking" flow starts at the booking list and includes review, editing and confirmation.
Fluid grid
A fluid grid changes column widths with the available content width, allowing the layout to stretch within its chosen structure.
The results grid stays fluid until it reaches the site’s maximum content width on a large display.
Focal point
A focal point is the element that draws the strongest attention within a screen or group, giving the eye a place to start.
A large image becomes an unwanted focal point when it draws attention away from a screen’s booking action.
Front-loading
Front-loading puts the most informative words at the start of a heading, label or item so scanning readers notice them quickly.
Front-loading turns "You can change your delivery address" into the easier-to-scan heading "Delivery address".

G

Gap
A gap is the space between neighboring items in a row or stack, defined separately from the container’s internal padding.
An 8 px gap links a card’s heading and body, while a larger gap separates it from the next card.
Governance
Governance defines who owns a design system and how proposals, reviews, documentation and releases keep it maintained.
The governance process asks teams to review an unmet need before releasing a new shared component.
Gutter
A gutter is the empty gap between adjacent grid columns, included inside a content span when that span crosses several columns.
A card spanning four columns includes three internal gutters, not a fourth gutter after its last column.

H

Hit target
A hit target is the area that responds to pointer or touch input, which can extend beyond the visible icon or control shape.
Padding around a small search icon enlarges its hit target without making the drawing itself larger.
Hotspot
A hotspot is a layer or region in a prototype that responds to an interaction and begins a configured action or sequence.
The whole button is a hotspot so tapping its edge works as well as tapping the label.
Human Interface Guidelines
The Human Interface Guidelines are Apple’s design guidance for interfaces across its platforms, including layout, controls and behavior.
The team checks the Human Interface Guidelines when adapting the navigation from Android to iPhone.

I

Instance
An instance is a linked use of a main component that receives its updates while allowing the changes exposed by its properties.
The designer changes the instance’s label but keeps its link so later spacing fixes still reach it.

K

Keyboard focus
Keyboard focus identifies the one element that currently receives keyboard input, often shown with a visible outline.
A strong focus outline lets someone see which button will respond as they move through the form.
Keyboard focus order
The keyboard focus order is the sequence in which interactive elements receive focus as someone navigates with a keyboard.
The filter form’s keyboard focus order follows the visible task sequence from choices to the apply action.

L

Large text
Large text, for WCAG contrast, is text at least 18 pt or 14 pt bold, allowing a different contrast threshold from normal text.
A 16 CSS px regular label remains normal text even when it is the only word inside a large button.
Leading edge
The leading edge is the side where reading begins, changing from left to right when the interface uses a right-to-left language.
A form aligns its labels to the leading edge so the layout can adapt to another reading direction.
Legibility
Legibility is how easily individual characters can be distinguished, influenced by letter shapes, weight, size and contrast.
The designer compares I, l and 1 to judge the legibility of two possible interface typefaces.
Line height
Line height is the vertical distance from one line of text to the next, controlling the room each line occupies in a text block.
A 24 px line height gives 16 px body text a 1.5 ratio and contributes 24 px to a one-line row.
Line length
Line length is the number of characters, including spaces, in one line of text, affecting the rhythm of reading paragraphs.
On a wide tablet screen, an article’s text column is limited to about 65 characters per line.
Liquid Glass
Liquid Glass is Apple’s translucent interface material for controls and navigation, visually separating them from content beneath.
The navigation layer uses Liquid Glass while the designer checks that underlying content stays readable.

M

Margin
A margin is space outside an element that separates it from neighboring content or the surrounding layout boundary.
The page’s outer margins keep its content away from the frame edges on the desktop screen.
Mockup
A mockup is a static high-fidelity screen design with polished visual styling and realistic content, without requiring interaction.
The mockup shows the final card styling, while the prototype will connect it to the detail screen.
Modular scale
A modular scale generates successive sizes by multiplying a base size by one ratio, with division giving steps below the base.
With a 16 px base and a 1.25 ratio, the modular scale produces 20 px and then 25 px.

N

Navigation rail
A navigation rail is a side-mounted Material component for top-level destinations, suited to layouts with more available width.
The mail app replaces its bottom destinations with a navigation rail in a wider window.
Non-text contrast
Non-text contrast is the contrast of visual parts needed to identify controls, states or meaningful graphics against adjacent colors.
The empty field’s only border needs adequate non-text contrast so people can identify its boundary.

O

On-color
An on-color is the text or icon color used on its matching background role, creating a pair that must have sufficient contrast.
White is the button’s on-primary color, so its contrast is checked against the primary blue fill.

P

Padding
Padding is the space inside a container between its boundary and its content, contributing to the container’s total occupied size.
Adding 12 dp padding around a 24 dp icon gives it a 48 dp square touch target.
Pattern
A pattern is a documented combination of components and behavior that solves a recurring interface task, such as search or onboarding.
The empty-state pattern pairs a useful explanation with an action that helps the user get started.
Platform convention
A platform convention is a familiar way an operating system or environment presents and handles an interface task or control.
The team follows platform conventions for back navigation while sharing the product’s color roles.
Point
A point is a logical design unit on Apple platforms whose physical pixel size depends on the display’s scale factor.
The 44 pt control is 132 physical pixels tall on a 3× display, but its logical size is unchanged.
Primitive token
A primitive token stores a raw design value, such as a particular color or dimension, before another token assigns it a purpose.
The primitive token "blue-600" holds the blue used by several purpose-based aliases in the light theme.
Progressive disclosure
Progressive disclosure shows important choices first and reveals less-used or advanced options through another step.
An "Advanced filters" section uses progressive disclosure while leaving everyday filters visible.
Prototype
A prototype is an interactive model of a design that lets people attempt selected tasks before the finished product is built.
The participant uses the prototype to select a date, review a booking and recover from a simulated error.
Proximity
Proximity is the closeness of elements that makes them appear related, especially when larger gaps separate them from other groups.
The field label sits close to its input, using proximity to distinguish it from the next field.

R

Readability
Readability is how comfortably a person can read a text block, shaped by type settings, line length, spacing and alignment.
A narrower text column improves readability because the reader can find the next line more easily.
Reduced motion
Reduced motion is a system preference that asks interfaces to limit movement or offer simpler transitions for the person using them.
The prototype’s reduced-motion treatment replaces a large sliding transition with a simple fade.
Relative luminance
Relative luminance is a calculated measure of color brightness using linearized red, green and blue channels with unequal weights.
The contrast checker uses relative luminance, rather than the hex code’s apparent size, to compare two colors.
Rem
A rem is a CSS length unit relative to the root element’s font size, used to express text and other dimensions in scalable terms.
The web type scale uses rem while leaving the root size at the browser default to respect user preferences.

S

Safe area
A safe area is a platform-defined region that keeps important content clear of system bars, device cutouts and other obstructions.
In a recipe app, controls stay inside the safe area while a background image reaches the screen edges.
Scrim
A scrim is a translucent overlay behind content that helps separate foreground text or controls from a changing image background.
A dark scrim behind the white heading improves its contrast over the photograph’s bright patches.
Selection
Selection is the state of a chosen item or option, separate from the focus that indicates where keyboard input is directed.
A checked option retains its selection after keyboard focus moves to the next field.
Semantic color
A semantic color communicates a stable meaning such as error, warning or success, helping people interpret status across screens.
The team reserves its error treatment for problems so a promotional banner does not borrow the same meaning.
Semantic token
A semantic token assigns a purpose to a value, often by referencing a primitive that can change with a theme or other context.
The semantic token "color-action-primary" can point to different blues in light and dark modes.
Semantic versioning
Semantic versioning uses major.minor.patch numbers to distinguish potentially breaking changes, compatible additions and bug fixes.
A compatible banner addition changes the minor version and is described in the library’s changelog.
Severity
Severity describes how seriously a usability problem affects a task, including whether it blocks completion or causes a smaller difficulty.
The hidden confirmation action has high severity because participants cannot complete their bookings.
SF Symbols
SF Symbols is Apple’s icon library designed to match system typography in weight and scale, including support for text-size changes.
The designer chooses an SF Symbol beside each tab label so icon and text weights work together.
Sheet
A sheet presents a focused task above the current Apple app context, with dismissal and visible close or confirm controls as needed.
Adding a recipe to a shopping list opens a sheet with "Cancel" and "Add" actions.
Signifier
A signifier is a visible cue that communicates an available action, such as an underline, filled button shape or drag handle.
A handle beside each list row acts as a signifier that the row can be dragged into a new position.
Smart animate
Smart animate is a Figma transition that animates property changes between layers matched by name and position in the layer hierarchy.
Duplicating the starting frame helps preserve the layer matches needed for Smart animate.
sp
An sp is a scale-independent text unit on Android that accounts for density and the person’s preferred font-size setting.
The app uses sp for the message text so a larger system font setting can enlarge it.
Spacing scale
A spacing scale is a small set of named values for recurring gaps, padding and margins, helping layouts stay consistent.
The card uses 16 px padding and a 24 px outer gap chosen from the product’s spacing scale.
Squint test
A squint test is a quick hierarchy check that blurs readable detail so the strongest shapes and areas of contrast remain apparent.
During the squint test, the designer notices that a secondary banner is stronger than the primary action.
State
A state is a condition of a component that affects its appearance or behavior, such as focused, pressed, selected, loading or disabled.
The button’s loading state shows "Sending…" and prevents repeated activation while the request runs.
State layer
A state layer is a translucent overlay used in Material to communicate interaction states such as hover, focus, press or drag.
A pressed state layer gives the button visible feedback without inventing a separate unrelated fill color.
Sticker sheet
A sticker sheet displays components, variants and states together for quick reuse and review of their visual consistency.
Two different button heights stand out when the designer reviews them together on the sticker sheet.

T

Tab bar
A tab bar is an Apple navigation component that switches among an app’s top-level sections, usually at the bottom on iPhone.
The recipe app’s tab bar switches between discovering recipes, searching, saved items and the profile.
Tabular figures
Tabular figures are digits with equal character widths, allowing numbers to line up consistently in tables and other numeric displays.
The usage table uses tabular figures so changing digits do not shift the alignment of its values.
Task success
Task success records whether a participant achieves a defined task outcome, helping a usability test identify completed and blocked attempts.
The researcher records task success when the participant finishes changing the booking to the requested date.
Text style
A text style is a named bundle of typeface, size, weight, line height and letter spacing used for a particular content role.
Applying the "body/medium" text style keeps a new panel’s text consistent with existing panels.
Tonal palette
A tonal palette is a set of related colors at different lightness levels, from which a system can select values for color roles.
Material selects different tones from a tonal palette for light-theme and dark-theme primary roles.
Transition
A transition determines how a prototype moves from one view to another, immediately or through an animation with duration and easing.
The designer changes the transition to Instant when no animated movement is needed between the frames.
Trigger
A trigger is the event that starts a prototype interaction, such as a click, drag, hover, key press or elapsed delay.
The "On click" trigger starts the action when the participant activates the calendar control.
Type scale
A type scale is a limited set of predefined text sizes that gives repeated interface roles a consistent relationship and hierarchy.
The dashboard’s type scale gives section headings the same size on every screen.

V

Variable mode
A variable mode provides a named set of alternative variable values for a context such as light, dark, compact or comfortable.
Switching to the dark variable mode changes surface values while components keep their role references.
Variant
A variant is a meaningful version of a component, organized by properties such as type, size or state within a related set.
In an error task, a button keeps its usual size variant but switches to a different interaction state.
Visual hierarchy
Visual hierarchy is the order in which people notice and read elements, arranged to support the importance of a task.
A booking screen uses visual hierarchy to make the next available appointment more noticeable than a promotion.
Visual weight
Visual weight is the attention an element attracts through its size, contrast, color, position and surrounding space.
The designer reduces the banner’s visual weight so the main action remains easy to find.

W

White space
White space is the empty area around and between interface elements that separates groups, supports reading and creates emphasis.
Extra white space above "Privacy" separates that settings group from the notification controls.
Window size class
A window size class groups the app’s available width or height into a range used to choose a suitable layout structure.
A split-screen app can enter a compact window size class even when it runs on a large tablet.
Wireframe
A wireframe shows a screen’s structure and content arrangement, commonly using simple boxes, limited styling and placeholder text.
The team tests the wireframe’s layout before spending time on polished images and color choices.

X

X-height
The x-height is the height of lowercase letters such as x, excluding ascenders and descenders, and affects apparent text size.
A typeface with a larger x-height can make its lowercase interface labels look clearer at a small size.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started