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 have helped more than a hundred companies launch, rebrand and grow online. Our team has done this many times, so you never have to guess.

2Inline-block inside a sentence

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

Last edited by Lea Whitaker and Nora Ibrahim 17 hours ago.

3Inbox preview

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

  • Freya LindqvistFive website mistakes that cost you leads – We measure success in sign-ups, sales and brand recall, not just awards. Every project starts with a workshop, so we understand your audience before we design.
  • Isla OrtegaDesigning packaging that survives the shelf – Senior designers lead every project from the first sketch to the final file. Clients stay with us for years because we treat their brand like our own.
  • Liam CarterFive things we learned this year – Every detail is handled by people who care about getting it right. Fixed prices and weekly demos keep you in control from start to finish.

4Table cell notes

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

OrderNoteTotal
#PO-8515We combine strategy, design and technology to build brands that grow.$219.60
#ORD-3724Start in minutes and get help from a real person whenever you need it.$221.94
#PO-8958Websites we build are fast, accessible and easy for your team to update.$52.16

5Long file names

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

  • a-beginner's-guide-to-getting-started-final-version-7.docx532 KB
  • looking-back-at-a-busy-season-final-version-8.docx767 KB
  • what-makes-a-brand-memorable-final-version-5.docx676 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.

Finn Kowalski replied: Clear prices, honest advice and no surprises along the way.yesterday

8Equal card titles

Truncated titles keep a grid of cards the same height.

Looking back at a busy season: Friendly people answer your questions quickly, by phone, chat or email.

Sep 26, 2025

Our favourite tips for busy weeks: Websites we build are fast, accessible and easy for your team to update.

Sep 22, 2025

How to choose the right project: Thousands of clients already trust us, and we work hard to keep it that way.

Aug 7, 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.

Launch campaign Social edition
$15,000
UX audit Web edition
$2,800
Explainer animation Motion edition
$5,500
Social kit Social edition
$1,900

12Truncated chips

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

Inside our design processDesigning packaging that survives the shelfWhat our clients asked us mostLessons from a year of client workshops

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

Small teams, short feedback loops and no handoffs lost in translation. We listen first, then build a plan around what you actually need.
New

With min-width: 0

We combine strategy, design and technology to build brands that grow. We have helped more than a hundred companies launch, rebrand and grow online.
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
A checklist for your next website launch
Five website mistakes that cost you leads
Doing
Choosing colours that sell
A beginner's guide to getting started
Done
The small habits that make a big difference
Why motion matters for modern brands

17Order summary address

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

Mia Harlow, 253 Harbour Road, Kyoto 88712, Japan 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. Brands that stand out and sell5:21
  2. Make your next launch unforgettable2:43
  3. Bold ideas, beautifully executed2:09

20Full text in a tooltip

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

Our motion team turns complex ideas into short films people actually watch. Senior designers lead every project from the first sketch to the final file.