Skip to content
Emberan

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.

Every payment appears instantly, with receipts matched automatically. Accounting sync keeps your books up to date without manual exports.

2Inline-block inside a sentence

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

Last edited by Ruby Larsen and Freya Ibrahim just now.

3Inbox preview

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

  • Sofia DuarteHow we keep your money safe – Our team has done this many times, so you never have to guess. Issue virtual and physical cards to your team with limits you control.
  • Owen OkaforFive ways to improve your cash flow – Invoices go out with a payment link, so customers can pay you in one click. Payroll runs on time, with tax and pension payments handled for you.
  • Noah AshfordWhat our members asked us most – Every payment appears instantly, with receipts matched automatically. Set approval rules for large payments and see who spent what, and why.

4Table cell notes

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

OrderNoteTotal
#INV-5121Accounting sync keeps your books up to date without manual exports.$350.00
#ORD-4254We listen first, then build a plan around what you actually need.$25.34
#ORD-7693We measure success by how many members come back and tell their friends.$206.86

5Long file names

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

  • how-a-coffee-roaster-cut-card-fees-by-a-third-final-version-8.docx324 KB
  • budgeting-basics-for-small-teams-final-version-5.docx483 KB
  • how-to-close-your-books-faster-every-month-final-version-5.docx514 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.

Mateo Hughes replied: Cash flow forecasts show where you will be next month, not just today.7 hours ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

A beginner's guide to getting started: Send and receive money in more than 30 currencies at fair exchange rates.

Apr 17, 2026

How to choose the right account: Start in minutes and get help from a real person whenever you need it.

Sep 19, 2026

Budgeting basics for small teams: Friendly people answer your questions quickly, by phone, chat or email.

Sep 29, 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.

Basic account Payments edition
Free
Tax reserve Savings edition
Free
Pro account Payments edition
$11.00
Team cards Cards edition
$14.00

12Truncated chips

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

Five things we learned this yearRunning payroll for your first five hiresWhat to look for in a business accountLooking back at a busy season

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

Thousands of members already trust us, and we work hard to keep it that way. No monthly fees on the basic plan and no hidden charges on transfers.
New

With min-width: 0

Every detail is handled by people who care about getting it right. Your money is protected by bank-grade security and regulated partners.
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
Paying international suppliers without high fees
How we keep your money safe
Doing
The small habits that make a big difference
How a coffee roaster cut card fees by a third
Done
What our members asked us most
Getting paid on time: invoice tips that work

17Order summary address

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

Leo Carter, 439 Harbour Road, Montreal 46064, 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. Spend smarter, close the books faster3:51
  2. Money management made simple5:34
  3. Finance tools your accountant will love3:01

20Full text in a tooltip

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

Real people answer your questions around the clock, every day of the year. We keep things simple, so you can focus on what matters to you.