All UX laws

Density Matches Context

Match how packed a screen is to the job: consumer apps breathe, pro tools pack.

Density should match the user's task: consumer apps breathe, pro tools pack.

By Rohit Sonawane, product designer · Last reviewed 16 November 2026

What is an example of density matching context?

A project-management tool shows many rows of tasks with small text so teams can scan them quickly, while a meditation app shows one large button and lots of space, because calm matters more than speed.

Give two screens the density they need

A premium landing page has been laid out like a spreadsheet, and a data table like a brochure. Set the density of each, and see why neither tight nor airy is right in general.

How do you apply Density Matches Context?

Pro tools: 8–12px gaps, 12–13px body, ≥4.5:1 contrast. Add a 'comfortable' toggle.

How to apply Density Matches Context, step by step

  1. Define who uses the screen and how often: daily expert or occasional visitor.
  2. For experts, reduce padding and show more rows, but keep text readable and contrast high.
  3. For occasional users, show fewer items with more space and clear next steps.
  4. If both groups use it, add a comfortable and compact setting.

What does Density Matches Context look like in a real product?

Linear packs, a meditation app breathes

A trading terminal, Linear, or a spreadsheet deliberately packs rows tight: the expert wants more on screen and scans fast, so generous padding just means more scrolling and less context. A meditation app or a marketing page does the opposite, giving each element room so a first-time visitor feels calm and unhurried. Same components, opposite density, because the task and the user are different. Matching density to context is what makes each one feel right.

What are common mistakes with Density Matches Context?

  • Applying consumer-app whitespace to a professional tool, so power users scroll endlessly to see what should fit on one screen.
  • Cramming a casual consumer app as tight as a dashboard, which reads as stressful rather than efficient.
  • Treating density as one global setting instead of offering a “comfortable” vs “compact” toggle for tools whose users genuinely differ.

When does Density Matches Context not apply?

Density is a spectrum set by the task, so there is no single right value to copy between products. Accessibility also puts a floor under it: even the densest pro tool still needs adequate tap targets, legible type, and 4.5:1 contrast, so “pack it tighter” stops where usability breaks.

How do you know you applied Density Matches Context well?

Experts can do their main task without scrolling or extra clicks, and newcomers can still tell where to start.

Density Matches Context: frequently asked questions

What does 'density matches context' mean in UI design?

It means how much information you pack on a screen should match the user's task. Tools for experts who scan lots of data, like trading or project tools, can be dense. Apps for occasional or relaxed use should be spacious and simple.

Is a dense interface bad UX?

Not for experts. Power users often work faster when more information is visible at once, without extra clicks. Density only hurts when it overwhelms people who use the product rarely.

How do I design for both new and expert users?

Offer a comfortable default and a compact option, or reveal more detail as people become familiar with the product. Many professional tools let users switch between comfortable and compact views.

Practise it on a real challenge

Trading Dashboard — breathable or dense?

A trading dashboard is used for hours. The team debates 'breathable' vs 'dense'.

Related reading

  • Heuristic evaluation: how to run one in an afternoon
  • Nielsen's 10 usability heuristics, with a real example of each

More UX laws

  • Time-to-Value
  • Tesler's Law
  • Endowed Progress Effect
  • Jakob's Law
  • Goal Gradient Effect
  • Information Architecture
UX QuestUX Laws and PrinciplesUI UX PracticeUX Design Challenge GeneratorNotion TemplatesBlogPricingAboutContactPrivacy PolicyTerms of ServiceRefund PolicySitemapChangelogPopular UX laws:60-30-10 RuleDesign every stateStatistical PowerFunnel TriageAccessible contrastDensity Matches ContextHick's LawFitts's LawAll UX laws