Skip to main content

Clip and ellipsize text in Fixed size text blocks


Vitalii_Sologub
  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

Laurynas_Levickas

Wow, that woukd be amazing! Been needing this for a while now! 👌🏽❤️


Brian_Clay

Agreed, great idea. And to go above and beyond, let us pick if we want front-line, end-line, or mid-line truncation. 🙂


Gui_Corte-Real

Reviving this ☝️


Isaac_Maia

up 👆


Fatin_Nawaz

We need this! I had assumed I could just not figure out how to do it


Joseph_Sjoblom

I could use this 👆


Paul_Sullivan1

Bump! Please please please!


Dario_Farina

Yes! Need this!


LoganDark
  • 5 replies
  • November 24, 2021

This isn’t a thing yet??? How???


Simon_Gloor

Yup… wanted to test what a good length for a single-line text with an ellipsis is. I guess I’ll have to make do with manually retyping it. : /


Ralph_A
  • 2 replies
  • January 31, 2022

I love this! Figma, lets make this happen!


LoganDark
  • 5 replies
  • February 10, 2022

Clearly the fact that this is getting so many necrobumps means that this is not only something that people like when they see, but it’s a feature that people actively look for when they don’t see, in order to find this thread.

Since Figma has not listened and probably will not ever listen to this particular feature request, there is 0 worth in continuing to bump the thread.


Maximoo
  • 2 replies
  • March 17, 2022

Bump! Bump! Bump! ☝️


arif_matubber

i also agreed


Davide4
  • 1 reply
  • June 9, 2022

I approve!


Jordi_Hoven

Truncate text is a thing now. Figma has listened :]


Andrius_Stasytis

Yes! Please!


tank666
  • 4868 replies
  • September 26, 2022

NorItu
  • 2 replies
  • February 17, 2023

Amazing! Works perfectly. <3

Had to re-read the instructions though, so for clarity:
1: select the text
2: hold the option (Mac) or alt (Windows) button
3: click on “Fixed”

Cool feature, shouldn’t be this hidden…


Solo_Cube
  • 7 replies
  • February 17, 2023

@Josh this is already solved since Figma added the Truncate text option.
Sorry for tagging you, not sure how to solve issues, and you are the only one I’ve found in the neighboring issues…


Oliver_Fuchs

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


Matt_Bolt

VERY NICE! This works great


Liza_Plotnikova

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


@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

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”.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings