Skip to content
Quillium

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.

Invoices go out with a payment link, so customers can pay you in one click. We measure success by how many members come back and tell their friends.

2Inline-block inside a sentence

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

Last edited by Aria Lindqvist and Sofia Brennan 58 min ago.

3Inbox preview

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

  • Felix LarsenGetting paid on time: invoice tips that work – Thousands of members already trust us, and we work hard to keep it that way. We listen first, then build a plan around what you actually need.
  • Omar QuinnFive things we learned this year – Our team has done this many times, so you never have to guess. We measure success by how many members come back and tell their friends.
  • Lucas NovakThe small habits that make a big difference – Every payment appears instantly, with receipts matched automatically. Thousands of members already trust us, and we work hard to keep it that way.

4Table cell notes

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

OrderNoteTotal
#ORD-6681Start in minutes and get help from a real person whenever you need it.$255.69
#ORD-1457Accounting sync keeps your books up to date without manual exports.$135.16
#INV-2359Invoices go out with a payment link, so customers can pay you in one click.$55.40

5Long file names

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

  • budgeting-basics-for-small-teams-final-version-7.docx302 KB
  • five-ways-to-improve-your-cash-flow-final-version-7.docx837 KB
  • how-a-coffee-roaster-cut-card-fees-by-a-third-final-version-6.docx428 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.

Zoe Morgan replied: We keep things simple, so you can focus on what matters to you.just now

8Equal card titles

Truncated titles keep a grid of cards the same height.

How we keep your money safe: Real people answer your questions around the clock, every day of the year.

Mar 15, 2026

Our favourite tips for busy weeks: Clear prices, honest advice and no surprises along the way.

Apr 30, 2026

How to close your books faster every month: Set approval rules for large payments and see who spent what, and why.

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

Savings vault Savings edition
Free
Business loan Savings edition
Free
Metal card Cards edition
$10.00
Pro account Payments edition
$12.00

12Truncated chips

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

Five ways to improve your cash flowHow to choose the right accountThe small habits that make a big differenceGetting paid on time: invoice tips that work

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

Cash flow forecasts show where you will be next month, not just today. We listen first, then build a plan around what you actually need.
New

With min-width: 0

Send and receive money in more than 30 currencies at fair exchange rates. Issue virtual and physical cards to your team with limits you control.
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
Five things we learned this year
Budgeting basics for small teams
Doing
A simple guide to business spending policies
Paying international suppliers without high fees
Done
What to look for in a business account
Looking back at a busy season

17Order summary address

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

Freya Duarte, 7 Cedar Lane, Melbourne 95760, 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. Clear numbers for confident decisions5:43
  2. See every transaction in real time3:36
  3. Finance tools your accountant will love5:13

20Full text in a tooltip

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

Every payment appears instantly, with receipts matched automatically. Start in minutes and get help from a real person whenever you need it.