Companion by Tokens Studio
Last updated
Last updated
Companion by Tokens Studio is a Figma plugin designed to seamlessly sync and consume design tokens from Tokens Studio as variables in Figma. It ensures your design tokens are always structured and accessible within your Figma files, reflecting updates made in Studio.
To set up the connection and sync your tokens:
Configure the API Key:
Paste the API key into the Companion plugin interface.
Select your organization and project to complete the connection.
View Tokens:
Once synced, all design tokens created in Tokens Studio will be visible in the Companion plugin.
Tokens are organized by collections and modes (modes) which corresponds to Theme Groups and Theme Options in Studio.
If changes are made in Studio, click Fetch from Studio in the plugin to sync the updates.
Click Create again to generate the updated variables in Figma. Only the differential updates will be applied.
Activate Watch Mode by clicking the Watch Icon in the plugin.
This minimizes the plugin but monitors changes in Studio.
Every 5 seconds, updates in Studio are automatically fetched and applied in Figma.
To stop Watch Mode, simply deactivate it by clicking the cancel button.
Delete Variables: Use the Delete Variables button to remove all variables created through the plugin in the current Figma file.
Refer to the Tokens Studio section to generate an API key.