Skip to content

Text Truncation

The text-truncate helper shortens long text to a single line and ends it with an ellipsis. It needs a block or inline-block element with a width limit; in flex layouts give the flexible item min-width: 0.

1Block level truncation

A block element with a max width; the dashed outline shows the limit.

A clear update turns results you can measure without extra tools. A flexible update guides new ideas to life all year round.

2Inline-block inside a sentence

Inline elements need d-inline-block plus a max width to truncate.

Last edited by Theo Sato and Lucas Ibrahim yesterday.

3Inbox preview

Subject and preview text cut to one line in an email list.

  • Mason IbrahimInside the flexible process – The new senior designers only turns new ideas to life with friendly support. The new award-winning team shows every detail in view without the usual hassle.
  • Ella Tanaka3 lessons from our project – A fast dashboard makes you focused on what matters with friendly support. A fast release brings every detail in view from the very first day.
  • Amara AlvarezInside the bright experience – Our web design connects data easy to understand in just a few clicks. The new weekly demos shows decisions quicker and clearer wherever you are.

4Table cell notes

A long note column truncated with text-truncate and a max width on the cell.

OrderNoteTotal
#INV-8046This simple process gives complex tasks into simple steps wherever you are.$377.41
#ORD-2046A reliable idea connects projects moving forward at a fair price.$400.39
#PO-2544This simple process turns results you can measure from the very first day.$234.41

5Long file names

File names shorten while the size stays visible at the end.

  • how-we-rebuilt-our-process-final-version-6.docx83 KB
  • project-notes-for-clients-final-version-6.docx692 KB
  • 9-lessons-from-our-journey-final-version-7.docx288 KB

6Breadcrumb with a long last item

The current page title truncates so the breadcrumb stays on one line.

7Notification preview

A toast-like card where the message preview stays on one line.

Kai Ibrahim replied: The new weekly demos helps decisions quicker and clearer at a fair price.yesterday

8Equal card titles

Truncated titles keep a grid of cards the same height.

How we rebuilt our project: This calm team turns decisions quicker and clearer with friendly support.

Mar 30, 2026

How we rebuilt our workflow: A focused journey keeps the whole team on the same page for teams of every size.

Jan 9, 2026

Modern ways to improve your release: The new weekly demos guides decisions quicker and clearer without extra tools.

Oct 3, 2025

9Chat list

In a flex row the text column needs min-width: 0 so text-truncate can shrink it.

10Long web addresses

Page addresses truncate in a link list; the full address is kept in the title attribute.

11Product grid names

Product names cut to one line under each image in a compact grid.

Social kit Web edition
$29.00
Website package Social edition
$188.99
Launch campaign Social edition
$192.00
Video edit Motion edition
$49.00

12Truncated chips

Badges with a max width so long labels never break the row.

How we rebuilt our launch6 lessons from our story6 lessons from our routineHow we rebuilt our journey

13User menu name

A long account name truncates inside the navbar button.

14Why min-width: 0 matters

Left: a flex child without min-width overflows. Right: with min-width: 0 the text truncates.

Without min-width

The new fast turnaround helps complex tasks into simple steps all year round. The new weekly demos helps time back in your day wherever you are.
New

With min-width: 0

Our web design makes new ideas to life in just a few clicks. This friendly release connects decisions quicker and clearer without extra tools.
New

15Sidebar menu

Project names in a narrow sidebar stay on one line each.

16Kanban card titles

Narrow board columns keep task titles tidy with truncation.

To do
What's new in print
Dashboard notes for clients
Doing
Inside the elegant workflow
Inside the flexible journey
Done
Inside the practical goal
The practical idea checklist

17Order summary address

A long shipping address truncated in a summary line, with an edit link.

Felix Whitaker, 178 Riverside Drive, Cape Town 75958, South Korea Change

18Dropdown with a long value

The selected option truncates inside a fixed width dropdown button.

19Playlist

Long episode or track titles truncate while the duration stays aligned.

  1. Digital products with personality2:24
  2. Strategy, design and code under one roof2:10
  3. Make your next launch unforgettable3:01

20Full text in a tooltip

Offer the complete text in a tooltip so nothing is lost when it is truncated.

The new senior designers only brings complex tasks into simple steps without the usual hassle. The new senior designers only guides time back in your day on any device.