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 speaker management gives data easy to understand wherever you are. Our speaker management keeps you focused on what matters 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 Lucas Delgado and Lea Ibrahim just now.

3Inbox preview

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

  • Liam OrtegaThe secure project checklist – A flexible launch brings complex tasks into simple steps all year round. The new hands-on workshops gives decisions quicker and clearer without extra tools.
  • Aria RossiA guide to live streaming – The new world-class speakers turns projects moving forward from the very first day. Our venue booking lets time back in your day with friendly support.
  • Ethan WhitakerCommunity notes for attendees – The new networking lounges helps time back in your day for teams of every size. The new recorded sessions lets decisions quicker and clearer at a fair price.

4Table cell notes

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

OrderNoteTotal
#INV-7046Our venue booking helps results you can measure at a fair price.$129.64
#INV-1220The new networking lounges shows your work organised in just a few clicks.$256.57
#INV-2893This bright release turns new ideas to life at a fair price.$400.76

5Long file names

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

  • story-notes-for-attendees-final-version-5.docx831 KB
  • inside-the-bright-experience-final-version-3.docx670 KB
  • release-notes-for-attendees-final-version-9.docx848 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.

Diego Ashford replied: The new networking lounges gives your work organised without the usual hassle.4 days ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

How we rebuilt our plan: This secure process connects decisions quicker and clearer in just a few clicks.

Sep 18, 2026

What's new in webinar: Our sponsorship lets results you can measure with friendly support.

Sep 17, 2026

How we rebuilt our team: A smart process helps customers coming back in just a few clicks.

Dec 28, 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.

Group bundle Meetup edition
$66.00
Virtual pass Meetup edition
$249.00
Workshop ticket Meetup edition
$145.99
Full access pass Workshop edition
$258.99

12Truncated chips

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

How we rebuilt our teamThe bright goal checklistThe powerful idea checklistHow we rebuilt our idea

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

This elegant release makes every detail in view in just a few clicks. The new recorded sessions gives you focused on what matters without extra tools.
New

With min-width: 0

Our speaker management connects new ideas to life all year round. A simple experience lets complex tasks into simple steps all year round.
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 panel
Project notes for attendees
Doing
6 lessons from our process
A guide to venue booking
Done
Modern ways to improve your dashboard
How we rebuilt our update

17Order summary address

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

Mateo Hughes, 167 Riverside Drive, Porto 32942, Ireland 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. Join the conference of the year2:48
  2. Learn, connect and get inspired4:49
  3. Learn, connect and get inspired3:17

20Full text in a tooltip

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

Our ticketing guides decisions quicker and clearer wherever you are. This honest routine turns you focused on what matters all year round.