Skip to content

anovis/autosizetext

Repository files navigation

Autosize Text – Figma plugin

This is the home for 'Autosize Text' Figma Plugin. The goal of this plugin is to automatically resize text to fit in its textbox.

How this plugin works

When triggered this plugin autosizes text to fit within its textbox.

For example

If text it too small it will grow to fit the bounds.

Before:

small before

After:

small after

If text it too big it will shrink to fit the bounds.

Before:

large before

After:

large after

This plugin has three different options to select textboxes to resize.

  • Full Page - Resizes all textboxes on current page
  • Selection - Resizes currently selected textboxes
  • Textbox Names - comma seperated list of textbox names to resize (ex. textbox1,textbox2 with resize textboxes that have names textbox1 and textbox2)

Issues

Please file any issues, bugs or feature requests as an issue on the GitHub page.

Roadmap

☐ Run as background process
☑ Select specific textboxes to resize

Want to Contribute

If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature) submit a pull request.

Running Locally

  • npm install
  • npx webpack --mode=development --watch

Import as a new plugin into Figma

Want to Support

Buy Me A Coffee