switch·Esc back

Text Truncate

You might say

If a title is too long, cut it off and show an ellipsis at the end.

Shorten text that cannot fit in the available spaceText truncation keeps a title or filename from breaking a compact layout, usually with an ellipsis. It hides information, so provide the full value when people may need it. Decide whether the limit is one line, several lines, or a fixed character count.
Know first
2026 Product Plan & Roadmap — Final Approved Version v3

This plan revolves around "shipping your own page in week one," with three workstreams: curriculum redesign, hands-on project upgrades, and community operations. See the appendix for the schedule.

Design System Component Coverage Audit (Public Release)

A component-by-component review of all 42 existing components, flagging frequent gaps and suggesting priorities to feed next quarter's planning.

When to use it

  • Long filename in a compact row
  • Card title with a fixed height
  • Table cell with limited width
    This is an example of an unusually long tag label
  • Preview text where the full value is available elsewhere
    2026-product-plan-final-v3-final.sketch 2026-product-plan-final-v3…

When NOT to use it

  • Cut off text that people must read to decide
  • Truncate without any way to see the full value
  • Use character limits when layout width is the real constraint
  • Apply the same line limit to every type of content
Anatomy
Limited width+nowrap does not wrap+overflow hidden overflow=A very long title...
The container or max-width sets the boundary — without it there is nothing to cut
white-space: nowrap pins the text to a single line
overflow: hidden hides whatever spills past the edge
text-overflow: ellipsis drops a … right where the text gets cut
Variants
Ellipsis
a-file-name-that-goes-on-and-on-final.pdf
List titles and file names that won't fit on one line
Line Clamp

A card summary that stays at two lines no matter how long the content runs — -webkit-line-clamp cuts the rest and adds an ellipsis.

Card summaries that only need the first two lines
Full-text access
2026 Product Plan & Roadmap — Final Approved Version v32026 Product Plan & Roadmap — Final Approved Version v3
When truncation needs a full-text escape hatch; tooltips need keyboard and touch alternatives
Typical use cases
Filename
Building a Design System from 0 to 1: Rolling Out Component Specs, Documented

Naming, state, and spacing specs for 42 components, plus the design handoff process, review checklist, and common rework traps.

Weekend Hiking Routes: From the City's Edge to Above the Clouds

Three day-trip routes graded by difficulty, with transit options, supply stops, and the best time to set out.

Card title
TaskStatusDue
Homepage redesign: final review of the new nav and hero visualsIn Progress07-24 18:00
Data reconciliation and reissue for failed payment ordersDone07-22 12:00
Review: Design System Component Coverage Audit (Public Release)Not Started07-28 10:00
Table cell
📄2026-product-plan-final-v3-approved.sketch4.2 MB
📊Q2-ops-review-channel-conversion-detail-public.xlsx1.8 MB
🖼homepage-banner-hero-final-compressed.png960 KB
Tags: Design System Coverage Audit Published
Search result preview
2026 Product Plan & Roadmap — Final Approved Version v3 2026 Product Plan & Roadmap — Final Approved Version v3
Design System Component Coverage Audit (Public Release)
Onboarding Flow Redesign & Staged Rollout Plan
Further reading