Selection to Variables
by Wagner Beethoven
Turn raw selection data into variables, text styles, color styles, effect styles, and JSON tokens.
Installs
15
Likes
4
Users
84
Views
107
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.
More file organization plugins plugins
View allTable Creator
by Gavin McFarland
Easily create tables that can be edited, resized and maintained using your design system
Rename It
by Rodrigo Soares
Clean Document
Paidby Yuan Qing Lim
Automagically organize and clean up your Figma document
Table Generator & Creator
Paidby Appcano
Generate and customize tables in seconds