Tokens Studio for Figma
  • Getting Started
    • Tokens Studio Plugin for Figma
    • Install the Figma Plugin
    • Pro Licence for the Figma Plugin
    • Join the Slack Community
    • Feature Requests - Featurebase
    • Changelog - Featurebase
  • Design Token Fundamentals
    • Intro to Design Tokens
      • Token Anatomy - Type
      • Token Anatomy - Value
      • Token Anatomy - Description
      • Token Anatomy - Name
  • Token Management
    • Token Types
      • Asset
      • Boolean
      • Border - Composite
      • Box Shadow - Composite
      • Color
        • Modified Colors (pro)
        • Gradient Colors
      • Dimension
        • Border Radius
        • Border Width
        • Sizing
        • Spacing
      • Number
      • Opacity
      • Other
      • Text (string)
      • Typography - Composite
        • Font Family
        • Font Weight
        • Font Fallbacks
        • Font Size
        • Line Height
        • Letter Spacing
        • Paragraph Indent
        • Paragraph Spacing
        • Text Case
        • Text Decoration
      • Composition (legacy)
    • Token Values
      • Token Values with References
      • Using Math in Token Values
    • Token Names
      • Token Name Technical Specs
      • Token Groups
      • Edit Token Names
    • Token Description
    • Token Sets
      • JSON View
  • Themes management
    • Themes (pro)
    • Themes that switch
  • Working in Figma
    • Variables and Tokens Studio
    • Styles and Tokens Studio
    • Export to Figma Guide
      • Export Options
      • Export Using Themes (pro)
      • Export Using Token Sets
      • Variables Skipped on Export
      • Styles with Variable References
    • Import from Figma Guide
      • Import Styles from Figma
      • Import Variables from Figma
        • Connect Themes to Imported Variables
        • Imported Variable Types and Token Types
    • Non-local Variables and Styles (pro)
    • Remove Tokens from Figma elements
    • Dev Mode in Figma
  • Settings Management
    • Plugin Settings
    • Base Font Size Setting
    • Token Format - W3C DTCG vs Legacy
  • Token Storage and Sync Integrations
    • Local Document - Figma File Token Storage
    • Remote Token Storage Integrations
      • GitHub - Git Sync Provider
      • GitLab - Git Sync Provider
      • Bitbucket - Git Sync Provider
      • Azure DevOps - Git Sync Provider
      • JSONBin - Cloud Sync Provider
      • Supernova - Cloud Sync Provider
      • Tokens Studio Platform - Cloud Sync Provider
      • URL - Server Sync Provider
      • Generic Versioned Storage - Server Sync Provider
    • Multi-file Sync to Remote Storage (pro)
    • Manage Sync Providers
      • Edit Sync Provider
      • Change Active Sync Provider
      • Remove Sync Provider
    • Sync Changes to Remote Storage - Push and Pull
    • Branch Switching (pro) - Version Control
  • Inspect and Debug Tokens
    • Inspect Tokens
    • Remap Tokens
  • Transform Tokens for Development
    • Style Dictionary + SD Transforms
    • Official docs for Style Dictionary
  • Style Dictionary Playground
  • Troubleshooting
    • Reset Tokens from Dev Console
    • Tokens Studio Status
  • Open Source
    • Contribute
    • Shared Plugin Data
Powered by GitBook
On this page
  • Export Using Token Sets
  • How it works
  • Select Token Sets to Export
  • Export as Variables feedback messages
  • Error messages
  • Check your exported Styles and Variables
  • Resources

Was this helpful?

Edit on GitHub
Export as PDF
PreviousExport Using Themes (pro)NextVariables Skipped on Export

Last updated 4 months ago

Was this helpful?

Export Using Token Sets

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.

How it works

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.

Each Token Set will be mapped to a Variable Collection

If you've selected to Export your Token Sets as Variables, each Token Set is mapped to a Variable Collection of the same name.


Select Token Sets to Export

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 setsbutton to adjust which Sets are selected for Export

Change Sets

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.

1

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.

2

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.

3

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.


Export as Variables feedback messages

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).

Error messages

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

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.


Check your exported Styles and Variables

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.

Recall that each export is limited to the Tokens included in the Sets selected for this Export.

This means you may have to repeat the Export to Figma process with different configurations to update your Styles and Variables completely.

If you have unexpected results, you can select a guide below for more details that are helpful in troubleshooting.


Resources

Figma resources:

Community resources:

Known issues and bugs

Requests, roadmap and changelog

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 -

→ Jump to the Export to Figma Options guide for more details.
Exporting using Themes.
→ Jump to the Variables and Tokens Studio guide for more details on mapping.
Overview of Variable Collections and Modes
YouTube Playlist
UI Collective
YouTube Playlist
Open issues for Export as Token Sets
Open issues for Figma Variables
Open issues for Figma Styles
Feature Request
Feature Request
Feature Request
Feature Request
Feature Request
→ Read the Export to Figma from Themes guide for more details on these features.

📸 ADD IMAGE 📸

🐞 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

community Slack
submit it on our feedback tool

💡 Something to share?

Submit it here!

💌 Visit to contribute or subscribe to updates.

https://feedback.tokens.studio/
Page cover image
Select the Export Styles and Variables from the Tokens page to configure the Options.
After the Export Options are confirmed, the number of Token Sets are displayed for Export. In this example, 23 of 36 Token Sets are selected for export. The Options button is highlighted to show how to open the menu as needed.
When Exporting to Figma the Tokens Sets page on the left shows 4 of 30 Sets are selected to export. After pressing the Change Sets button, the screen on the right will open to allow changes to the Set Status to be made.
Pressing the Change Sets modal opens the list of all Sets. Adjusting the Set Status tells the plugin how to export the Tokens living within each set.
Different status messages from the Plugin are shown when exporting as Variables.
A common error message from the Plugin is shown in Figma, caused by where the Figma file is located.
Cover

Export to Figma Overview

Lists the compatible Token Types with Styles and Variables.

Cover

Export to Figma Options

A detailed guide on each Export Option.

Cover

Skipped Variables when Exporting to Figma

Reasons why some Tokens can't be exported.

Cover

Export to Figma Styles with Variable references

Detailed guide on this multi-step process and the Token Types supported.

Cover

Variables FAQs

Deep dive into how Variables and Tokens Studio work together in Figma.

Cover

Styles FAQs

Deep dive into how Styles and Tokens Studio work together in Figma.