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 listen first, then build a plan around what you actually need. Senior designers lead every project from the first sketch to the final file.

2Inline-block inside a sentence

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

Last edited by Luna Fischer and Ava Haddad 1 days ago.

3Inbox preview

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

  • Chloe MorganThe small habits that make a big difference – Clients stay with us for years because we treat their brand like our own. Friendly people answer your questions quickly, by phone, chat or email.
  • Felix SilvaWhat our clients asked us most – We have helped more than a hundred companies launch, rebrand and grow online. Every detail is handled by people who care about getting it right.
  • Nora QuinnA checklist for your next website launch – From logo to launch campaign, everything is designed to work together. Websites we build are fast, accessible and easy for your team to update.

4Table cell notes

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

OrderNoteTotal
#PO-4592Thousands of clients already trust us, and we work hard to keep it that way.$236.71
#TX-2174Fixed prices and weekly demos keep you in control from start to finish.$285.24
#ORD-1036Friendly people answer your questions quickly, by phone, chat or email.$36.22

5Long file names

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

  • five-website-mistakes-that-cost-you-leads-final-version-2.docx371 KB
  • inside-our-design-process-final-version-8.docx269 KB
  • why-motion-matters-for-modern-brands-final-version-9.docx191 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 Ibrahim replied: Start in minutes and get help from a real person whenever you need it.39 min ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

Our favourite tips for busy weeks: Thousands of clients already trust us, and we work hard to keep it that way.

Dec 8, 2025

Five website mistakes that cost you leads: Clients stay with us for years because we treat their brand like our own.

Mar 12, 2026

How to choose the right project: Every detail is handled by people who care about getting it right.

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

UX audit Web edition
$2,650
Launch campaign Social edition
$10,000
Packaging design Print edition
$4,100
Social kit Social edition
$1,800

12Truncated chips

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

Lessons from a year of client workshopsLooking back at a busy seasonA beginner's guide to getting startedDesigning packaging that survives the shelf

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

Our motion team turns complex ideas into short films people actually watch. We combine strategy, design and technology to build brands that grow.
New

With min-width: 0

We measure success in sign-ups, sales and brand recall, not just awards. Small teams, short feedback loops and no handoffs lost in translation.
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
How we ran a rebrand in eight weeks
Doing
Planning a month of social content in a day
What our clients asked us most
Done
Why motion matters for modern brands
Choosing colours that sell

17Order summary address

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

Finn Varga, 254 Lakeview Terrace, Valencia 48306, Spain 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. Make your next launch unforgettable2:14
  2. Brands that stand out and sell4:41
  3. Digital products with personality5:52

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. Our team has done this many times, so you never have to guess.