Back to Plugins
Leading Trim

Leading Trim

<p>Trim your text elements, removing space above capital letters and below the baseline. Make text behave the same as every other element in your layout.</p><p><br></p><p>This plugin works by nesting and offsetting text elements within frames.</p><p><br></p><p>To achieve the same behaviour in a browser, check out <a href="https://seek-oss.github.io/capsize" rel="noreferrer noopener nofollow ugc" target="_blank">Capsize</a> which this plugin uses internally.</p><p><br></p><p>The code for this plugin is open source and available on GitHub: <a href="https://github.com/markdalgleish/figma-leading-trim" rel="noreferrer noopener nofollow ugc" target="_blank">https://github.com/markdalgleish/figma-leading-trim</a>.</p>

text croplayoutleading-trimcapsizetypography

Plugin Preview

Leading Trim preview

About this plugin

Trim your text elements, removing space above capital letters and below the baseline. Make text behave the same as every other element in your layout.


This plugin works by nesting and offsetting text elements within frames.


To achieve the same behaviour in a browser, check out Capsize which this plugin uses internally.


The code for this plugin is open source and available on GitHub: https://github.com/markdalgleish/figma-leading-trim.

Plugin Details

Version3
CreatedAugust 23, 2022
Last UpdatedSeptember 27, 2022
Categoryfonts-typography
CreatorMark Dalgleish
Stats250 installs, 86 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:build/ui.js
  • main:build/main.js
  • Editor Types:
    figma