Back to Plugins

Figma Variable to Code
Format data from Figma variable collections into the syntax you need for your codebase.
variablesvariable collectioncodegendevelopercodedevelopmentorganizationefficiency
Plugin Preview
About this plugin
This plugin was created to keep Figma variables in sync with variables in the codebase.
For example, you can quickly generate a sass variable for each of the color variables in your Figma file. This ensures your variables in the codebase have the same value and name as the variables in the Figma file.
- Load the variable collections
- Choose the collection you want to generate variables for
- Paste the format you want variable data to be generated in, and replace static content with the dynamic keys in the formatting list
- Click generate
- Copy the generated variables and put them in the appropriate file in your codebase
Note: If a collection contains groups of variables, each variable from each group is treated as its own unique variable.
Plugin Details
Version | 3 |
---|---|
Created | January 3, 2025 |
Last Updated | March 7, 2025 |
Category | Software development |
Creator | Megan Pekarek |
Stats | 1 installs, 0 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 Software development category.