Back to Plugins
Spacing Manager

Spacing Manager

The PurposeI think we all know that sometimes designers making different spacings between the elements. In some cases, we have 15px spacing, and in another place, 14px. It's hard always to update all these spacings manually.With the help of auto layout, we can resolve this problem. Just turn on the auto layout feature with zero spacing between the elements and use "spacers" between.There are different ways, but I prefer to use the 8-Point Grid System. You can use premade "spacers" from the public library (https://www.figma.com/c/file/809152234949654615/Spacings) and place them between the elements. In that case, you will make sure that the spacings between the components are consistent.How it worksAdd the library https://www.figma.com/c/file/809152234949654615/Spacings or have own symbols that have "$spacing" word in the name;Use them when neededIf you want to hide them, select a parent frame and run the plugin. It will look for all spacers that were used on the frame and will set zero opacityIf you want to show spacers back, just rerun the plugin. If the first spacer on the row will have zero opacity, it will set 100% for all spacers found on the selected frame.Pro tipYou can use smart spacing prediction feature! Here is how it works https://twitter.com/faridsabitov/status/1281697269948067845Pro tipYou can set "cmd"+"option"+"H" hotkey via system preferences in Mac to toggle spacers visibility quickly. You can read more about setting the hotkeys in Figma here: https://hustle.bizongo.in/custom-shortcuts-for-figma-8c93f3bc9ca2

paddingspacingmarginautolayoutgrid

Plugin Preview

Spacing Manager preview

About this plugin

The PurposeI think we all know that sometimes designers making different spacings between the elements. In some cases, we have 15px spacing, and in another place, 14px. It's hard always to update all these spacings manually.With the help of auto layout, we can resolve this problem. Just turn on the auto layout feature with zero spacing between the elements and use "spacers" between.There are different ways, but I prefer to use the 8-Point Grid System. You can use premade "spacers" from the public library (https://www.figma.com/c/file/809152234949654615/Spacings) and place them between the elements. In that case, you will make sure that the spacings between the components are consistent.How it worksAdd the library https://www.figma.com/c/file/809152234949654615/Spacings or have own symbols that have "$spacing" word in the name;Use them when neededIf you want to hide them, select a parent frame and run the plugin. It will look for all spacers that were used on the frame and will set zero opacityIf you want to show spacers back, just rerun the plugin. If the first spacer on the row will have zero opacity, it will set 100% for all spacers found on the selected frame.Pro tipYou can use smart spacing prediction feature! Here is how it works https://twitter.com/faridsabitov/status/1281697269948067845Pro tipYou can set "cmd"+"option"+"H" hotkey via system preferences in Mac to toggle spacers visibility quickly. You can read more about setting the hotkeys in Figma here: https://hustle.bizongo.in/custom-shortcuts-for-figma-8c93f3bc9ca2

Plugin Details

Version10
CreatedFebruary 11, 2020
Last UpdatedMarch 11, 2021
CategoryUncategorized
CreatorFarid Sabitov
Stats12663 installs, 521 likes
PricingFree

Technical Details

  • API:1.0.0
  • main:code.js

More Like This

Discover other plugins in the same category.

No similar plugins found in this category.