Skip to main content
The tokens.json export gives you every design token Coreframe has generated — colors, spacing, radius, border widths, and opacity values — in a single structured JSON file. The format is compatible with popular toolchains like Style Dictionary and Token Studio, so it slots straight into an automated pipeline without any manual conversion. Each token is stored as a raw value, and alias tokens carry a $value reference so downstream tools can resolve the full chain.

Export tokens.json

1

Open the Developer tab

Open Coreframe in Figma and click the Developer tab at the top of the plugin panel.
2

Click Export tokens.json

Find the Export tokens.json card and click the Export tokens.json button. Coreframe will read your local Figma variables and build the file.
3

Save the file to your project

When the download prompt appears, save tokens.json to your project — for example, into a tokens/ or design/ directory at your repo root.

File structure

Coreframe organises tokens by collection at the top level, then by name path within each collection. Color tokens are stored as hex strings. Spacing, radius, border, and opacity tokens are stored as raw numbers. Alias tokens — where one token references another — use a $type: "alias" object with a $value reference path. The exported file also includes a name, version, and generatedAt timestamp so you always know which Coreframe session produced it.

Using with Style Dictionary

Style Dictionary can consume tokens.json directly and transform it into CSS custom properties, SCSS variables, JavaScript ES modules, and more. Point Style Dictionary’s source at your exported file, then define a platform in your config for each output format you need.
style-dictionary.config.js
Run your Style Dictionary build step whenever you re-export from Coreframe to regenerate all downstream files automatically.