All71 Looks cramped9 No focus7 Looks cheap10 Motion feels stiff10 States are missing6 Don't know what it's called19 The AI feels clunky10
Looks cramped 07 / 71
Clamp long text What it's called Line clamp multi-line ellipsis Glossary
What goes wrong Descriptions of one to five lines make every card a different height, so the row looks ragged and the footers never line up.
The fix Cut previews to a fixed number of lines with an ellipsis, and let every card in a row take the same height.
Clamp card descriptions to two lines with display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden, at var(--ds-font-size-sm) (13px) on var(--ds-line-height-sm) (20px); stretch the cards of a row to one height, push their footers down with margin-top: auto, and keep the full text for the detail page.
--ds-font-size-sm13px --ds-line-height-sm20px Previous rule Big enough to tapNext rule Shorten names in the middleWhy AI-generated UIs all look the same: 12 rules that fix it Updated 25 November 2026
Watercolour basics Paint loose skies.
4 lessons €24 Sourdough at home Feed a starter, shape a loaf and bake an open, airy crumb in an ordinary home oven.
8 lessons €39 Phone photography Frame, light and edit better shots with only your phone.
5 lessons €29 Three cards, three heights Two lines each, footers in line
Don't know what it's called
Choose a rule 07 Padding inside cards Space between rows Line height Group by distance Space and fills, not lines Big enough to tap Clamp long text Shorten names in the middle Show row actions on hover One primary action Three text sizes at most One hero number Quiet supporting text Tabular numbers Balanced headline breaks Align numbers on the baseline No cards inside cards Concentric corners Soft, layered shadows One accent colour Readable text on tints Status needs more than colour Letter spacing by size Corners from one scale Centre by eye Fade the scrolling edge Ease out when entering Durations from the scale Stagger lists Press feedback Grow from the trigger Move between values Respect reduced motion Slide the way you are going A little overshoot Expand in place Skeletons shaped like the content Empty states with a next step Errors next to the field Disabled but readable Visible keyboard focus Buttons keep their size while busy Floating action bar Command palette Shortcut keycaps Split button Searchable select Prefix and suffix in a field Breadcrumb Tabs or segmented control Switch or checkbox Tooltip or popover Dialog or drawer Scrim behind a dialog Sticky header Avatar stack Count badge Icon tile Bento grid Progressive disclosure Undo toast Starter prompts Prompt box Attachment chips Slash menu Streaming reply Thinking trace Agent steps Inline citations Inline diff Approval card