Raycast Figma Variables Extension
Overview
This Raycast extension allows users to interact with their Figma designs by fetching and displaying variable collections from a Figma file. Users can view details of each variable within a collection, including mode-specific values and code syntax.
Getting Started
Finding Your Figma Access Token
- Go to the Figma settings page.
- Navigate to the 'Access Tokens' section.
- Create a new token with the required permissions, ensuring you include the 'read' scope for variables.
Locating Your File Key
The File Key is part of your Figma file's URL: https://www.figma.com/design/<FILE_KEY>/...
.
Using the Extension
- Input Token and File Key: On launching the extension, enter your Figma access token and file key when prompted.
- Browse Collections: The extension displays a list of variable collections from the specified Figma file.
- View Variables: Selecting a collection reveals the variables it contains.
- Variable Details: Clicking on a variable displays its details, including values for different modes and code syntax.
Ensure your access token has the appropriate permissions to read variables from your Figma files.