Back to Plugins

Spacing Finder
Auto-bind hardcoded spacing to your design token variables.
Plugin Preview
About this plugin
Spacing Variable Binder scans your page for auto-layout frames with hardcoded spacing values (padding, gap, item spacing) and automatically binds them to the closest matching variable from your design system.
How it works:
- Detects all local spacing variables in your file
- Walks every auto-layout frame on the current page
- Uses smart half-gap matching to confidently snap values to the nearest variable
- Auto-fixes clear matches, then shows ambiguous midpoint values for you to decide
- Skips values already bound to a variable
Features:
- Works with any variable naming convention
- Configurable keyword filter to target specific variable collections
- Dry Run mode to preview changes before applying
- Detailed log of every fix with snap distance shown
- Decision UI for ambiguous values sitting between two variables
Why use it:
Stop manually rebinding spacing one frame at a time. Run the plugin once and get every hardcoded value matched to your tokens in seconds. Perfect for cleaning up files before dev handoff.
Plugin Details
| Version | 1 |
|---|---|
| Created | February 17, 2026 |
| Last Updated | February 17, 2026 |
| Category | File organization plugins |
| Creator | Tom Rantala |
| Stats | 1 installs, 2 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the File organization plugins category.