Back to Plugins
Selection to Variables

Selection to Variables

Turn raw selection data into variables, text styles, color styles, effect styles, and JSON tokens.

Plugin Preview

Selection to Variables preview

About this plugin

Selection to Variables turns raw design values into reusable Figma assets — directly from existing files.Scan Groups, Frames, and Sections to detect token candidates: colors, typography, spacing, border radius, and effects. Review results by type, rename what needs adjusting, and generate variables, styles, or a full JSON token export in one step.What it does:- Detects repeated values automatically and groups them by type- Creates or reuses variables organized into four flat groups: palette, scale, content, and states — named in your interface language- Creates or reuses color, text, and effect styles — with checkboxes to include or exclude each one- Applies generated assets back to the current selection- Exports reviewed tokens as structured JSON with palette references- Generates a Design Guide directly on the canvas: color swatches, typography scale, spacing chips, and effect previews — all as editable Figma framesVariable-aware style generation: when compatible variables already exist in the file, the plugin reuses them instead of creating duplicates.Available in English, Portuguese (BR), and Spanish.Ideal for auditing existing files, bootstrapping design systems, and moving from raw UI values to structured, reusable assets faster.

Plugin Details

Version9
CreatedMarch 15, 2026
Last UpdatedJuly 5, 2026
CategoryFile organization plugins
CreatorWagner Beethoven
Stats9 installs, 2 likes
PricingFree

Technical Details

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