Rule 5.20, Adapt across sizes

Size a component by its slot

Default

Rule. Size a component by the width of its slot, not by the width of the window.

Why. A card in a narrow side pane is narrow, even in a wide window.

Figure. The narrow card shows a title. The wide card adds a detail line.