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.

Price alerts tell you the moment a home that fits your search comes on the market. We measure success by how many buyers 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 Sofia Okafor and Leo Ashford 37 min ago.

3Inbox preview

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

  • Hana QuinnThe small habits that make a big difference – Every listing is checked by our team, so the photos match what you see in person. Neighbourhood guides cover transport, schools and things to do.
  • Nadia IbrahimRenting versus buying: what makes sense now – Our local agents know every street, school and coffee shop in the area. We handle the paperwork, so you can focus on planning the move.
  • Finn BrennanWhat our buyers asked us most – Sellers get professional photos, floor plans and a marketing plan included. Our rental team manages repairs, payments and tenants for landlords.

4Table cell notes

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

OrderNoteTotal
#ORD-5864Our team has done this many times, so you never have to guess.$57.70
#TX-2708Book viewings online and take a 3D tour before you leave the house.$96.80
#TX-2181Honest advice comes first, even when it means waiting for the right home.$40.85

5Long file names

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

  • how-to-choose-the-right-property-final-version-8.docx839 KB
  • buying-a-building-plot:-what-to-check-first-final-version-8.docx576 KB
  • our-favourite-tips-for-busy-weeks-final-version-7.docx325 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.

Kai Morgan 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 prepare your home for a quick sale: Most of our homes sell within six weeks, often above the asking price.

Sep 20, 2025

A first-time buyer's checklist: Price alerts tell you the moment a home that fits your search comes on the market.

Jun 13, 2026

How to choose the right property: Get a free, no-obligation valuation of your home within 48 hours.

Mar 12, 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.

Garden villa Villas edition
$1,290,000
Corner office Commercial edition
$970,000
Studio apartment Apartments edition
$320,000
City loft Apartments edition
$640,000

12Truncated chips

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

Looking back at a busy seasonBuying a building plot: what to check firstWhat our buyers asked us mostStaging tips that help homes sell faster

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

Friendly people answer your questions quickly, by phone, chat or email. Every detail is handled by people who care about getting it right.
New

With min-width: 0

Thousands of buyers already trust us, and we work hard to keep it that way. We listen first, then build a plan around what you actually need.
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
What really affects the value of your home
Five things we learned this year
Doing
Renting versus buying: what makes sense now
A beginner's guide to getting started
Done
Ten questions to ask at a viewing
The best neighbourhoods for families this year

17Order summary address

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

Ava Sato, 300 Willow Way, Barcelona 19401, 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. Sell faster with an expert at your side3:08
  2. Home is closer than you think3:25
  3. Moving made simple2:33

20Full text in a tooltip

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

Neighbourhood guides cover transport, schools and things to do. We measure success by how many buyers come back and tell their friends.