anovis / autosizetext

figma plugin for autosizing text to fit within a bounded text box

Home Page:https://www.figma.com/community/plugin/950454402091975756/autosizetext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

figma plugin for autosizing text to fit within a bounded text box

https://www.figma.com/community/plugin/950454402091975756/autosizetext


Languages

Language:TypeScript 36.3%Language:HTML 29.3%Language:JavaScript 28.1%Language:CSS 6.2%