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.

Friendly people answer your questions quickly, by phone, chat or email. Every detail is handled by people who care about getting it right.

2Inline-block inside a sentence

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

Last edited by Jonah Kowalski and Luna Delgado 20 hours ago.

3Inbox preview

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

  • Theo SatoFive things we learned this year – Set approval rules for large payments and see who spent what, and why. We measure success by how many members come back and tell their friends.
  • Ivy NovakHow to choose the right account – Invoices go out with a payment link, so customers can pay you in one click. Cash flow forecasts show where you will be next month, not just today.
  • Ruby HarlowBudgeting basics for small teams – No monthly fees on the basic plan and no hidden charges on transfers. Payroll runs on time, with tax and pension payments handled for you.

4Table cell notes

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

OrderNoteTotal
#ORD-9724Open a business account online in about ten minutes, with no branch visit.$354.82
#INV-2204Your money is protected by bank-grade security and regulated partners.$134.90
#ORD-8471Thousands of members already trust us, and we work hard to keep it that way.$249.11

5Long file names

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

  • paying-international-suppliers-without-high-fees-final-version-2.docx432 KB
  • how-a-coffee-roaster-cut-card-fees-by-a-third-final-version-4.docx673 KB
  • a-simple-guide-to-business-spending-policies-final-version-9.docx650 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.

Ethan Larsen replied: Our team has done this many times, so you never have to guess.12 hours ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

How to close your books faster every month: Friendly people answer your questions quickly, by phone, chat or email.

Feb 8, 2026

The small habits that make a big difference: We listen first, then build a plan around what you actually need.

Jun 27, 2026

Looking back at a busy season: Send and receive money in more than 30 currencies at fair exchange rates.

Feb 1, 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.

Metal card Cards edition
$10.00
Basic account Payments edition
Free
Invoice pack Invoices edition
$8.00
Pro account Payments edition
$11.00

12Truncated chips

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

Five things we learned this yearHow a coffee roaster cut card fees by a thirdA simple guide to business spending policiesWhat our members asked us most

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

Every detail is handled by people who care about getting it right. Payroll runs on time, with tax and pension payments handled for you.
New

With min-width: 0

Clear prices, honest advice and no surprises along the way. Invoices go out with a payment link, so customers can pay you in one click.
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
Getting paid on time: invoice tips that work
Paying international suppliers without high fees
Doing
Running payroll for your first five hires
Budgeting basics for small teams
Done
What to look for in a business account
Our favourite tips for busy weeks

17Order summary address

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

Finn Alvarez, 448 Willow Way, Austin 61081, United States 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. Clear numbers for confident decisions3:08
  2. Money management made simple5:23
  3. Business banking without the paperwork4:37

20Full text in a tooltip

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

We listen first, then build a plan around what you actually need. Your money is protected by bank-grade security and regulated partners.