Articles

Density is a setting, not a style

Some people want twenty rows on screen, some want twelve. Both are right, and the product can serve both.

1 min readInteraction


Density debates in design reviews rarely end, because both sides are right. Power users want more on screen. New users want room to breathe. The answer is usually to stop picking.

Design three steps, ship two

I sketch compact, regular and roomy for every list, then ship the two that hold up. The spacing is driven by a single token so the whole product moves together:

:root {
  --row-y: 10px;
}
[data-density="compact"] {
  --row-y: 6px;
}

What stays fixed

Type size, icon size and hit targets don't change with density. Only the space between things does. That keeps the product recognisable at every setting — and keeps it accessible.