Last updated
Was this helpful?
Last updated
Was this helpful?
Free licence holders for Tokens Studio can attach their Tokens to Styles and Variables in Figma by Exporting to Figma from Token Sets.
This has some limited capabilities compared to when you Export to Figma from Themes (Pro).
Create and maintain Styles and Variables in Figma powered by Token Sets in the plugin.
A Variable collection is created for each Token Set exported.
Creating modes within a Variable Collection is not possible when exporting from Token Sets.
Choose which Token Sets are attached to Styles and Variables.
Styles can have Variable references.
Local Styles and Variables supported (within the same Figma File).
Non-local Variable references
are not possible when exporting from Token Sets.
Once you have created Tokens in the plugin, select the Styles & Variables Button from the Tokens page.
Choose the Export Styles & Variables option.
The Export Options menu will open and allow you to choose which actions the plugin should perform on the Tokens included in your export:
Export your Tokens as Variables, Styles or both.
Choose any Style export specific settings.
Choose any update specific settings.
Once you confirm your Options, you'll see the Export as Themes or Token Sets page. If you have a Free licence for Tokens Studio, you'll be brought directly to the TokenSets page.
The Token Sets page is is where you choose which Tokens are included in your export.
If needed, you can review or modify your Options before you Export by selecting the Options button at the bottom of the plugin to open the menu.
Once you select the Export to Figma button, the Plugin will apply your Export Options to all compatible Tokens included in the Export.
If you've selected to Export your Token Sets as Variables, each Token Set is mapped to a Variable Collection of the same name.
The Export from Token Sets page will display the Number of Token Sets selected for export.
By default, the number of Token Sets selected will match the configuration from the plugin's Tokens Page before you start the Export process.
For example, if only the "Primitive" Token Set was Enabled
with the checkmark visible next to the Token Set Name on the left side of the Tokens Page, the Export from Token Sets would say 1 of X Sets selected for export
.
Token Sets with a status of Reference/Set as Source are not included in the count.
Select the change sets
button to adjust which Sets are selected for Export
Select the Change Sets button to review and adjust your Token Set configuration. You will see a list of all Token Set Names you have already created and their Export status.
Adjust the status by changing the Toggle next to the Set Name.
By changing the status of your Token Sets, you are telling the plugin which Tokens Sets should be included in the Export.
Enabled Token Sets are exported
Token Sets with the toggle active on the checkmark icon are Enabled
and will be included in the Export.
These Tokens are created or updated as Styles and Variables, depending on your Export Options.
Reference Token Sets are included in the export
Token Sets with the toggle active on the curly bracket icon have the Reference Only
status.
They are not directly exported, but this status reminds the Plugin that these token sets work together with the Enabled Token Sets and should be included in the export in a limited capacity.
Changes to the values of Tokens in Reference Only sets are not updated during the export.
Tokens added or removed in Reference Only sets are not updated during the export.
You can run a second Export with only these Token Sets as Enabled if you want to fully update Figma with changes you've made in the plugin.
Disabled Token Sets are ignored
Token Sets with the toggle active on the x icon have the Disabled
status and will be ignored during the export status.
If Tokens were updated or new Tokens were added to these Tokens Sets, this information will not be passed on to Figma during the Export.
Once you have confirmed the Token Sets to be included in the Export, you'll return to the Export from Token Sets page.
The count of how many Token Sets to be Exported should reflect the choices you made in the previous steps.
If needed, you can review or modify your Options before you Export by selecting the Options button at the bottom of the plugin to open the menu.
Once you select the Export to Figma button, the Plugin will apply your Export Options to all compatible Tokens included in the Export.
When exporting Variables, you'll see a feedback message at the bottom of your Figma file depending on your configuration.
If you are creating new Collections of Variables or adding Variables within an existing collection, the message will show a count of what was created (right side of the image below).
If you are updating existing Variables, the message will tell you that no Variables were created, but will not tell you that Variables were changed (left side of the image below).
It's also common to see a red message at the bottom of your file, indicating an error in the export.
Your Figma plan only allows for the creation of 1 mode
message will appear if:
You have a Free Figma plan.
The Figma file is in your Drafts instead of a Project.
The image below shows how to tell if your file is in your Drafts.
Move the file to a Figma project then Export to Figma as Variables again to create your other modes.
Once your Export has finished, check to ensure you have the output to Figma you expected. This depends on the combination of the Export Options and the Token Sets selected to export.
If you have unexpected results, you can select a guide below for more details that are helpful in troubleshooting.
Figma resources:
The creation of Variable Modes within a Collection is only possible by
Design in Figma -
The Tokens Studio collection of Variable videos -
Our friends at have free learning resources on Variables -
Tokens Studio Plugin GitHub -
Tokens Studio Plugin GitHub -
Tokens Studio Plugin GitHub -
Add support for scoping and publishing variables and styles -
Ignore parts of the token name for variables and styles -
Theme Switcher for non-DS designers so I don't need variables anymore -
Tokens applied with Figma UI as Styles or Variables are Fragile -
Show updated number of Variables (or styles) when exporting to Figma with updated values -
📸 ADD IMAGE 📸
💡 Something to share?
🐞 If you are experiencing an issue not listed here, please reach out to us on the Troubleshooting channel of our , , or send us an email support@tokens.studio
💌 Visit to contribute or subscribe to updates.