Back to Plugins
Fig-Refactor

Fig-Refactor

Refactor Your Figma Spacing in Seconds

Plugin Preview

Fig-Refactor preview

About this plugin

Call for Sponsorship: Support the Development


Fig-Refactor – Replace Spacing with Figma Variables in One Click


Fig-Refactor is a Figma plugin designed to bring structure and scalability to your design files by replacing hardcoded gaps and paddings with Figma variables β€” in bulk.


Fig-Refactor intelligently scans your selection or entire file, matches raw spacing values to the closest variable from your local or team library, and replaces them with a single click. It even skips values already using variables, keeping your workflow non-destructive and efficient.


✨ Features:

  1. πŸ” Smart matching – Suggests the closest variable for each spacing value
  2. 🧠 Supports team libraries – Load and use variables from shared libraries
  3. πŸ“ Flexible scanning – Target specific selections or scan the entire file
  4. 🚫 Non-destructive – Ignores values already assigned to a variable


Currently in active development, Fig-Refactor is already making design systems cleaner and easier to manage β€” and with your support, it can go even further. Your sponsorship helps fund ongoing development, bug fixes, and new features like auto-thresholds, preview modes, and batch review.


πŸ“Ή DEMO

❀️ Support this project


Your support helps keep this plugin alive and evolving.

Thank you for making design better for everyone!

Plugin Details

Version1
CreatedApril 27, 2025
Last UpdatedApril 27, 2025
CategoryFile organization plugins
CreatorIvica Batinić
Stats3 installs, 5 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:build/ui.js
  • main:build/main.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • https://api.gumroad.com