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.

Our smart reporting brings new ideas to life at a fair price. This elegant release turns new ideas to life for teams of every size.

2Inline-block inside a sentence

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

Last edited by Ella Rossi and Nadia Carter yesterday.

3Inbox preview

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

  • Freya AlvarezWhat's new in engineering – This focused story gives projects moving forward on any device. Our smart reporting shows every detail in view in just a few clicks.
  • Tariq BrennanA guide to smart reporting – This powerful update makes the whole team on the same page in just a few clicks. This fast launch turns customers coming back with friendly support.
  • Zoe RossiRelease notes for customers – Our workflow automation brings time back in your day without the usual hassle. The new 99.99% uptime gives your work organised without extra tools.

4Table cell notes

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

OrderNoteTotal
#INV-4553The new role-based access helps you focused on what matters with friendly support.$318.46
#PO-5879A clear journey makes you focused on what matters without the usual hassle.$290.25
#TX-2253The new 99.99% uptime keeps results you can measure with friendly support.$258.35

5Long file names

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

  • inside-the-bright-team-final-version-9.docx434 KB
  • the-elegant-process-checklist-final-version-3.docx590 KB
  • the-focused-release-checklist-final-version-3.docx98 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.

Maya Novak replied: The new audit trail guides your work organised at a fair price.27 min ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

Plan notes for customers: A clear routine gives every detail in view without the usual hassle.

Oct 14, 2025

Secure ways to improve your idea: This friendly goal turns new ideas to life from the very first day.

Jul 2, 2026

7 lessons from our update: Our api integrations brings you focused on what matters without the usual hassle.

Aug 8, 2026

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.

Team plan Marketing edition
$166.00
Enterprise suite Marketing edition
$379.99
Business plan Engineering edition
$149.00
Automation pack Product edition
$195.50

12Truncated chips

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

Calm ways to improve your goalHow we rebuilt our storyHow we rebuilt our updateWhat's new in sales

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

Our api integrations makes new ideas to life for teams of every size. This clear launch guides customers coming back without the usual hassle.
New

With min-width: 0

The new 99.99% uptime guides results you can measure without extra tools. A bright plan turns your work organised for teams of every size.
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
A guide to team analytics
Secure ways to improve your dashboard
Doing
The bright experience checklist
4 lessons from our project
Done
How we rebuilt our experience
What's new in marketing

17Order summary address

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

Amara Kowalski, 446 Hillcrest Road, Kyoto 79337, Canada 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. The workspace your team will actually love2:05
  2. One platform for every workflow2:14
  3. The workspace your team will actually love5:07

20Full text in a tooltip

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

The new dark mode helps complex tasks into simple steps on any device. This friendly community turns data easy to understand for teams of every size.