Skip to content
Bloom Kit

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.

Volunteers give their time in schools, shelters and food banks every week. We have helped more than two hundred thousand people since we started.

2Inline-block inside a sentence

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

Last edited by Hana Ibrahim and Ethan Novak yesterday.

3Inbox preview

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

  • Liam LarsenOur favourite tips for busy weeks – You receive photos and updates showing exactly what your donation achieved. Clean water wells are built with and maintained by local communities.
  • Elena HarlowStories from the families we support – Our annual report is independently audited and published in full. Every detail is handled by people who care about getting it right.
  • Samir NguyenHow your donations built three new classrooms – A school kit costs less than a cinema ticket and lasts a whole year. Local partners know their communities and make sure help arrives where it matters.

4Table cell notes

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

OrderNoteTotal
#TX-3718Every donation is tax-deductible, and receipts arrive by email instantly.$195.12
#TX-8369Thousands of donors already trust us, and we work hard to keep it that way.$178.99
#INV-9880Ninety cents of every dollar goes directly to the projects you support.$214.24

5Long file names

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

  • looking-back-at-a-busy-season-final-version-7.docx730 KB
  • how-to-choose-the-right-campaign-final-version-6.docx122 KB
  • why-monthly-giving-makes-such-a-difference-final-version-7.docx792 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 Duarte replied: We keep things simple, so you can focus on what matters to you.26 min ago

8Equal card titles

Truncated titles keep a grid of cards the same height.

Our yearly impact report, explained: We listen first, then build a plan around what you actually need.

Apr 14, 2026

A beginner's guide to getting started: Companies can match employee donations and double their impact.

Apr 12, 2026

The small habits that make a big difference: Monthly gifts let us plan ahead and respond quickly when disaster strikes.

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

Solar lamp Environment edition
$19.00
Monthly gift Relief edition
$27.00
Shelter support Animals edition
$40.99
Library books Education edition
$49.00

12Truncated chips

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

Why we plant trees with the schools we buildLooking back at a busy seasonMeet the partners behind our water projectsOur 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

You receive photos and updates showing exactly what your donation achieved. Thousands of donors already trust us, and we work hard to keep it that way.
New

With min-width: 0

Start in minutes and get help from a real person whenever you need it. Companies can match employee donations and double their impact.
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
Inside the shelter: from rescue to new home
Five things we learned this year
Doing
What happens after a disaster appeal
Ten ways to fundraise with friends
Done
Why monthly giving makes such a difference
How to choose the right campaign

17Order summary address

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

Nora Alvarez, 13 Hillcrest Road, Vancouver 21588, 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. Real help, where it is needed most4:54
  2. Small acts, big impact3:11
  3. Be part of the change4:51

20Full text in a tooltip

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

Our annual report is independently audited and published in full. Clear prices, honest advice and no surprises along the way.