Token Collector
Convert styles and variables to JSON tokens
Plugin Preview
About this plugin
Creates variable collections from local color styles (only solid fill styles for now), with the option to bind the variables to the stylesShows variable bindings for local color stylesBuilds design tokens JSON from both local styles and local collection variables -- Local styles JSON output includes composite typography tokensJSON view has options for showing font sizes in either px or rem (1rem defaults to 16px for now) and replacing raw values with variable aliasLATEST UPDATE: JSON view now follows DTCG formatExample JSON tokens built from local styles:{ "color": { "app": { "primary": { "$description": "App primary color", "$type": "color", "$value": "#041c2c" }, "secondary": { "$description": "", "$type": "color", "$value": "#041c2c" }, "accent": { "$description": "", "$type": "color", "$value": "#3169bb" } } }, "typography": { "body": { "$description": "Default body text", "$type": "text", "$value": { "font-size": "0.75rem", "font-family": "Inter", "font-style": "Regular", "text-decoration": "none", "letter-spacing": "0%", "line-height": "auto", "text-transform": "none" } } }}Color tokens with option selected to replace value with alias:{ "color": { "app": { "primary": { "$description": "App primary color", "$type": "color", "$value": "{color.app.primary}" }, "secondary": { "$description": "", "$type": "color", "$value": "{color.app.secondary}" }, "accent": { "$description": "", "$type": "color", "$value": "{color.app.accent}" } } }}
Plugin Details
| Version | 8 |
|---|---|
| Created | June 28, 2023 |
| Last Updated | July 1, 2025 |
| Category | Import & export plugins |
| Creator | Jessica McCune |
| Stats | 115 installs, 14 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:dist/ui.html
- main:dist/code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.
Free Compressed PDF and Image Exporter (PDF, PNG, JPG, WebP and SVG)
Export compressed PNG, PDF, JPG, SVG, WebP & merge multiple frames into one PDF—fast & easy! 🚀
Color Import / Export
Help design and dev teams stay in sync by providing import and export tools for color palettes
Export/Import Variables
Export variables from one file and import them to another. Supports modes, references, and scopes.