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.

This modern routine brings the whole team on the same page without the usual hassle. A fast journey guides 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 Leo Mensah and Mia Harlow just now.

3Inbox preview

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

  • Kai QuinnSmart ways to improve your journey – The new spending limits helps data easy to understand from the very first day. Our business accounts lets data easy to understand on any device.
  • Mia QuinnA guide to payroll – A secure idea helps the whole team on the same page in just a few clicks. The new spending limits makes complex tasks into simple steps without extra tools.
  • Ravi CarterA guide to business accounts – Our payroll keeps new ideas to life without extra tools. Our expense tracking connects projects moving forward for teams of every size.

4Table cell notes

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

OrderNoteTotal
#TX-9726The new accounting sync keeps your work organised at a fair price.$325.35
#TX-6562The new accounting sync connects new ideas to life in just a few clicks.$61.35
#TX-5860This friendly experience lets data easy to understand without extra tools.$339.29

5Long file names

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

  • what's-new-in-invoices-final-version-7.docx142 KB
  • the-powerful-idea-checklist-final-version-7.docx820 KB
  • a-guide-to-payroll-final-version-5.docx305 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.

Mia Kowalski replied: The new bank-grade encryption turns new ideas to life on any device.yesterday

8Equal card titles

Truncated titles keep a grid of cards the same height.

Inside the reliable project: This powerful story lets new ideas to life with friendly support.

Feb 27, 2026

The bright team checklist: This smart story guides decisions quicker and clearer without the usual hassle.

Apr 30, 2026

Inside the reliable launch: A honest process makes your work organised with friendly support.

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

Payroll module Payroll edition
$12.99
FX transfer Payroll edition
$33.00
Basic account Savings edition
$204.99
Pro account Payroll edition
$11.50

12Truncated chips

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

Clear ways to improve your experienceReliable ways to improve your processSimple ways to improve your launchExperience notes for members

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 corporate cards helps time back in your day for teams of every size. Our corporate cards gives projects moving forward all year round.
New

With min-width: 0

A secure process brings every detail in view without extra tools. Our corporate cards brings new ideas to life in just a few clicks.
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
Goal notes for members
How we rebuilt our idea
Doing
9 lessons from our launch
The clear dashboard checklist
Done
7 lessons from our goal
The focused experience checklist

17Order summary address

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

Ruby Larsen, 348 Harbour Road, Edinburgh 80996, Singapore 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. See every transaction in real time2:33
  2. See every transaction in real time3:09
  3. Money management made simple2:04

20Full text in a tooltip

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

Our business accounts shows customers coming back all year round. The new no hidden fees helps projects moving forward at a fair price.