Skip to main content

Document Figma variables in guidelines

Learn how to install the Figma variables block, import Figma variables using JSON, and customize how variable collections appear in your brand guidelines.

Our partner Smartive developed and maintains the Figma variables block.

The Figma variables block allows you to document color, number, string, and boolean design tokens directly in your Frontify guidelines. Developed and maintained by Frontify partner Smartive, this block complements the standard Figma content block by providing dedicated token documentation.

Prerequisites

Before using the Figma variables block, make sure that:

  • An account admin has installed the Figma variables block from the marketplace.

  • You have editor permissions on the target guideline page.

  • You have access to the relevant Figma file containing published variable collections.

Getting started

First, install the block by navigating to your Frontify marketplace and following the installation procedure outlined here. Please note that only editors have permission to install blocks from the marketplace.

After installation, simply add the Figma variables block to your guidelines to document your variables.

Install the block

Marketplace content blocks must be installed at the account level before editors can add them to guidelines.

To install the block (account admins only):

  1. Open your Marketplace from the main navigation.

  2. Locate the Figma variables block.

  3. Select Install.

For detailed information about marketplace management and role permissions, see Frontify marketplace for content blocks.

Export variables from Figma

The block imports variables through a structured JSON file generated by a Figma plugin.

To export your variables from Figma:

  1. Open your Figma design file.

  2. Select the Actions menu (or press Cmd + / on macOS or Ctrl + / on Windows).

  3. Search for the variables2json plugin and select it to run.

  4. Download the generated JSON file to your local computer.

Upload variables to your guidelines

Once the block is installed on your account, editors can add it to guideline pages.

To display your exported variables in a guideline:

  1. Open the guideline page where you want to display your variables in Edit mode.

  2. Add the Figma variables block from the block chooser.

  3. Drag and drop the downloaded JSON file into the block upload area, or select the upload prompt to choose the file from your computer.

Once uploaded, the block parses your variable collections, groups, and modes into a structured table.

Configure and customize the block

Editors can tailor how collections and tokens display to viewers:

  • Browse collections: Expand or collapse the sidebar navigation to select specific collections, variable groups, or subgroups.

  • Filter tokens: Use the filter menu at the top right of the table to narrow displayed variables by property type or status.

  • Hide items: In Edit mode, toggle visibility on groups or individual variables to conceal draft or internal tokens from view mode.

  • Adjust layout: Open the block settings panel to configure table display styles, column visibility, and spacing.

In view mode, guideline viewers can copy individual token values and variables directly to their clipboard by selecting them.

And that’s it. Thanks for reading this help article. If you have any questions, please contact our partner, Smartive.

Did this answer your question?