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 08 / 71
Shorten names in the middle What it's called Middle truncation middle ellipsis Glossary
What goes wrong File names cut at the end all read the same, because what tells them apart (the version, the date, the extension) is in the part that was cut.
The fix Keep the start and the end of the name and drop the middle, so each file still tells itself apart.
Truncate long file names in the middle: split each name into a head that shrinks with overflow: hidden; text-overflow: ellipsis and a tail of its last 12 characters (version and extension) that never shrinks, set both at var(--ds-font-size-md) (14px), and show the full name in a tooltip.
Previous rule Clamp long textNext rule Show row actions on hoverWhy AI-generated UIs all look the same: 12 rules that fix it Updated 25 November 2026
Cut at the end Cut in the middle
Quarterly-review-2025-Q3-marketing-team-draft.docx 1.2 MB · Mon Quarterly-review-2025-Q3-marketing-team-final.pdf 2.4 MB · Tue Quarterly-review-2025-Q3-marketing-team-final-v2.pdf 2.5 MB · Today Quarterly-review-2025-Q3-marketing-team-notes.md 18 KB · Today Four rows, one name Start and end kept: each file tells itself apart
Don't know what it's called
Choose a rule 08 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