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.

Every piece is made in small batches from materials we test ourselves. Order before 2 pm and most items leave our warehouse the same day.

2Inline-block inside a sentence

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

Last edited by Kenji Silva and Sofia Okafor 1 hours ago.

3Inbox preview

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

  • Ethan RossiA beginner's guide to getting started – Pay securely with card, wallet or in three interest-free instalments. Every detail is handled by people who care about getting it right.
  • Ella WhitakerOur guide to gifts under $50 – Gift wrapping and a handwritten note are free on every order. We keep things simple, so you can focus on what matters to you.
  • Ruby AlvarezFive pieces for a capsule wardrobe – We listen first, then build a plan around what you actually need. Not sure about the size? Our fit guide and live chat help you choose.

4Table cell notes

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

OrderNoteTotal
#INV-6963Thousands of five-star reviews from customers who came back for more.$364.81
#TX-9314Thousands of shoppers already trust us, and we work hard to keep it that way.$256.30
#PO-8941We keep things simple, so you can focus on what matters to you.$191.82

5Long file names

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

  • meet-the-makers-behind-our-ceramics-final-version-7.docx179 KB
  • how-to-care-for-linen-so-it-lasts-for-years-final-version-9.docx105 KB
  • looking-back-at-a-busy-season-final-version-5.docx91 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.

Tariq Nguyen replied: Start in minutes and get help from a real person whenever you need it.1 days ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

How to choose the right product: We listen first, then build a plan around what you actually need.

Dec 2, 2025

How we choose sustainable materials: We work directly with makers, so prices stay fair for everyone.

Sep 19, 2026

Meet the makers behind our ceramics: Members get early access to new drops and prices only they can see.

Oct 22, 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.

Rain jacket Outdoor edition
$124.99
Ceramic mug Home edition
$23.00
Running cap Outdoor edition
$25.00
Leather wallet Accessories edition
$54.00

12Truncated chips

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

A beginner's guide to getting startedA small guide to a calmer homeWhat our shoppers asked us mostStyling one piece three different ways

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

We measure success by how many shoppers come back and tell their friends. Free shipping on orders over $50 and easy returns within 30 days.
New

With min-width: 0

Our packaging is plastic-free and every delivery is carbon-neutral. Not sure about the size? Our fit guide and live chat help you choose.
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
The small habits that make a big difference
What to pack for a rainy weekend outdoors
Doing
Our guide to gifts under $50
Five things we learned this year
Done
Our favourite tips for busy weeks
A three-step skincare routine that works

17Order summary address

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

Lea Tanaka, 144 Harbour Road, Vancouver 65301, 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. Style that works as hard as you do5:12
  2. Everyday essentials, beautifully made2:06
  3. Quality goods delivered to your door4:27

20Full text in a tooltip

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

Each product is checked by hand before it goes into the box. Pay securely with card, wallet or in three interest-free instalments.