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.

We combine strategy, design and technology to build brands that grow. Every project starts with a workshop, so we understand your audience before we design.

2Inline-block inside a sentence

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

Last edited by Kai Kowalski and Mason Moreau yesterday.

3Inbox preview

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

  • Mia OrtegaHow to choose the right project – Start in minutes and get help from a real person whenever you need it. Thousands of clients already trust us, and we work hard to keep it that way.
  • Nora MorganInside our design process – Our team has done this many times, so you never have to guess. Fixed prices and weekly demos keep you in control from start to finish.
  • Ava AshfordFive things we learned this year – Our team has done this many times, so you never have to guess. Thousands of clients 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
#INV-5594Senior designers lead every project from the first sketch to the final file.$56.42
#ORD-6271Small teams, short feedback loops and no handoffs lost in translation.$109.95
#PO-1107We listen first, then build a plan around what you actually need.$390.67

5Long file names

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

  • planning-a-month-of-social-content-in-a-day-final-version-7.docx224 KB
  • designing-packaging-that-survives-the-shelf-final-version-3.docx362 KB
  • lessons-from-a-year-of-client-workshops-final-version-8.docx193 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.

Isla Rossi replied: We have helped more than a hundred companies launch, rebrand and grow online.52 min ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

Designing packaging that survives the shelf: We measure success in sign-ups, sales and brand recall, not just awards.

Aug 1, 2026

What makes a brand memorable: We combine strategy, design and technology to build brands that grow.

Jan 2, 2026

Choosing colours that sell: We test early with real users, so the final design works on the first day.

Nov 30, 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.

Launch campaign Social edition
$15,000
Explainer animation Motion edition
$5,550
UX audit Web edition
$2,650
Landing page Web edition
$3,350

12Truncated chips

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

The small habits that make a big differenceA beginner's guide to getting startedLooking back at a busy seasonOur favourite tips for busy weeks

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 project starts with a workshop, so we understand your audience before we design. We measure success by how many clients come back and tell their friends.
New

With min-width: 0

We keep things simple, so you can focus on what matters to you. Friendly people answer your questions quickly, by phone, chat or email.
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 ran a rebrand in eight weeks
Inside our design process
Doing
Why motion matters for modern brands
Five things we learned this year
Done
Lessons from a year of client workshops
Planning a month of social content in a day

17Order summary address

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

Kenji Quinn, 193 Harbour Road, Austin 80976, 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. Strategy, design and code under one roof4:13
  2. Make your next launch unforgettable5:31
  3. Design that earns attention4:13

20Full text in a tooltip

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

Small teams, short feedback loops and no handoffs lost in translation. Our motion team turns complex ideas into short films people actually watch.