Back to Plugins
Truncate Lines

Truncate Lines

<p>Limit the number of lines of text that appear in your designs.</p><p><br></p><p>Select one or more blocks of text, set the number lines you need, then just click apply.</p><p><br></p><p>If you select text that is part of a component or instance you can choose to apply it to the selection only or apply across all the instances to keep them consistent.</p><p><br></p><p>If you need the original text back just press reset and your original text will reappear.</p><p><br></p><p>Hopefully this plugin will become redundant in the near future but in the meantime you can save yourself a bit of time.</p><p><br></p><p>A guide for this plugin with a bit more detail can be found here:</p><p>https://www.figma.com/proto/jwWFEWDI10CUk83d1r7Mcv/Plugin---Truncate-Lines?node-id=137%3A259&amp;scaling=scale-down-width&amp;page-id=137%3A258</p>

numberstextlimitellipsistruncateoverflowline

Plugin Preview

Truncate Lines preview

About this plugin

Limit the number of lines of text that appear in your designs.


Select one or more blocks of text, set the number lines you need, then just click apply.


If you select text that is part of a component or instance you can choose to apply it to the selection only or apply across all the instances to keep them consistent.


If you need the original text back just press reset and your original text will reappear.


Hopefully this plugin will become redundant in the near future but in the meantime you can save yourself a bit of time.


A guide for this plugin with a bit more detail can be found here:

https://www.figma.com/proto/jwWFEWDI10CUk83d1r7Mcv/Plugin---Truncate-Lines?node-id=137%3A259&scaling=scale-down-width&page-id=137%3A258

Plugin Details

Version2
CreatedJune 21, 2020
Last UpdatedNovember 4, 2020
Categoryfonts-typography
CreatorAndrew Cobley
Stats5084 installs, 121 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:dist/ui.html
  • main:dist/code.js