Skip to main content
Vitalii_Sologub
New Participant
Jan 22, 2021 9:48 AM UTC

Clip and ellipsize text in Fixed size text blocks

  1. Idea is that the text block should keep all the text but everything that goes beyond the block must be clipped (the same as Clip content for frames).
  2. Ideally, an ellipsys (three dots) should be placed at the end of this block (similar to text-overflow: ellipsis in CSS).

25 replies

Oliver_Fuchs
Feb 21, 2023 10:13 AM UTC

Great feature but it doesn’t work on “Text align justify”

Matt_Bolt
Jun 2, 2023 7:09 PM UTC

VERY NICE! This works great

Liza_Plotnikova
Sep 1, 2023 2:57 PM UTC

Hello! I love the Truncate text option in Figma, and I use it all the time. But my developers informed me that there is no equivalent CSS solution.

text-overflow: ellipsis;

Only works if there’s one line of text… it doesn’t add an ellipsis at the bottom of a block of text. Are we missing something? Please help

Oct 3, 2023 1:22 PM UTC

@Liza_Plotnikova

A bit late response, but a multi-line truncated text can be achieved like this:

    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

This will add ellipsis at the end of two lines of text.

For browsers-support check: "line-clamp" | Can I use... Support tables for HTML5, CSS3, etc

Sean_Morris
Nov 19, 2023 2:25 PM UTC

At least for me, as of November 2023, the option appears through the text sub menu.

  1. With the text selected, click on the three dots in the “Text” section of the right menu.
  2. Click “Truncate Text”.