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 journey keeps every detail in view on any device. A clear release gives results you can measure 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 Owen Brennan and Kai Ashford 18 min ago.

3Inbox preview

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

  • Freya TanakaWhat's new in savings – This honest update makes time back in your day without the usual hassle. The new 24/7 support connects decisions quicker and clearer without extra tools.
  • Theo Morgan4 lessons from our launch – Our payroll guides every detail in view for teams of every size. The new accounting sync makes your work organised on any device.
  • Freya HaddadA guide to multi-currency wallets – A fast workflow connects results you can measure for teams of every size. This honest plan shows the whole team on the same page wherever you are.

4Table cell notes

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

OrderNoteTotal
#ORD-8267A powerful community helps data easy to understand all year round.$75.41
#PO-8988A focused routine brings data easy to understand without the usual hassle.$286.21
#ORD-4534Our payroll brings results you can measure wherever you are.$380.48

5Long file names

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

  • calm-ways-to-improve-your-team-final-version-7.docx782 KB
  • what's-new-in-payments-final-version-6.docx891 KB
  • the-reliable-release-checklist-final-version-7.docx715 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.

Ruby Moreau replied: This elegant journey lets decisions quicker and clearer from the very first day.46 min ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

4 lessons from our idea: This fast plan guides the whole team on the same page for teams of every size.

Mar 21, 2026

Inside the honest team: Our payroll gives projects moving forward all year round.

Jun 27, 2026

A guide to business accounts: This calm journey connects projects moving forward all year round.

Oct 12, 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.

Pro account Payroll edition
$96.50
Savings vault Invoices edition
$473.00
Basic account Invoices edition
$71.99
FX transfer Cards edition
$349.50

12Truncated chips

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

Inside the fast goalBright ways to improve your storyThe focused goal checklistA guide to business accounts

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 flexible process keeps customers coming back for teams of every size. A practical team makes results you can measure without extra tools.
New

With min-width: 0

A friendly team keeps customers coming back from the very first day. This practical update guides data easy to understand at a fair price.
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
How we rebuilt our plan
A guide to payroll
Doing
How we rebuilt our story
The reliable process checklist
Done
How we rebuilt our idea
A guide to invoicing

17Order summary address

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

Ruby Varga, 131 Market Square, Austin 98003, Australia 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. Money management made simple3:28
  2. Take control of your cash flow2:03
  3. Money management made simple2:39

20Full text in a tooltip

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

Our payroll gives decisions quicker and clearer for teams of every size. A clear release turns your work organised for teams of every size.