Back to Plugins
Spacing Token Generator

Spacing Token Generator

Generate spacing Tokens instantly, right inside Figma.

Plugin Preview

Spacing Token Generator preview

About this plugin

đź”§ What It Does

This Figma plugin helps you automatically generate spacing Tokens based on your preferred scale. Whether you're working with a base-4 or base-8 spacing system—or even a custom multiplier—this tool creates a clean, structured set of spacing tokens to integrate into your design system.



⚙️ How It Works


1. Choose Your Base Grid

Start by selecting your preferred spacing grid:

- 4pt scale (perfect for tighter systems)

- 8pt scale (industry standard for scalable design systems)

- Or choose the "Custom" option to set your own base multiplier (e.g., 5, 10, etc.)


2. Add Multipliers

Define the multipliers you want to generate tokens for.

You can:

- Use the default multipliers (e.g., 1x, 2x, 3x...)

- Add your own custom multipliers for more control over your spacing structure.



3. Generate Spacing Tokens

Click "Generate" and the plugin will automatically:

- Create a new variable collection called "Spacing"

- Generate a full set of iTokens (Figma variables) based on your chosen base and multipliers

- Structure them cleanly and consistently for immediate use across your components


🚀 Why Use It?

- âś… Save time on repetitive token creation

- âś… Maintain consistency across your design system

- âś… Scale your UI spacing logic with precision

- âś… Easily integrate into Design Tokens pipelines or handoff processes

Plugin Details

Version4
CreatedApril 1, 2025
Last UpdatedApril 9, 2025
CategoryFile organization plugins
CreatorSevan
Stats17 installs, 9 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none