jaytrovare / auto-layout-spaces

πŸ‘€ A Figma plugin to view all spacing at once in auto-layouts

Home Page:https://www.figma.com/community/plugin/1141632283161323116

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cover

Auto-layout Spaces

πŸ‘€ View all spacing at once in auto-layouts.

➑️ Install on Figma


Why

Show all spaces in auto-layouts at once, so that developers integrating the design don’t have to select elements one by one to see their spacing.

Features

  • Show spaces in all of the auto-layouts in the page.
  • Hide them.
  • Show only spacing between items, or only paddings.
  • Choose different units for the value of spaces (px, rem or a custom pixel ratio).
  • Choose to keep or not spaces after closing the plugin.
  • Spaces are shown with different colors, each color corresponding to a specific value.

Running locally

After cloning the repo, install the dependencies via pnpm:

pnpm install

You can build the projet once with:

pnpm build

...or watch for changes:

pnpm watch

In Figma, open a file and go to Figma > Plugins > Development > Import plugin from manifest and select the manifest.json in the project.

Now, you can run the plugin and do your changes.

License

MIT Β© Colin Lienard

About

πŸ‘€ A Figma plugin to view all spacing at once in auto-layouts

https://www.figma.com/community/plugin/1141632283161323116

License:MIT License


Languages

Language:TypeScript 64.2%Language:CSS 18.5%Language:HTML 13.4%Language:JavaScript 3.2%Language:Shell 0.7%