Token Exporter
Export Figma variables to code for 6 platforms.
Plugin Preview
About this plugin
A simple, powerful Figma plugin to transform your design variables into production-ready code with one click. It's a zero-config alternative to Style Dictionary, designed to make your design-to-development workflow seamless, fast, and error-free.
This project was created by Nate Mills to solve a common workflow problem for design and development teams.
The Problem It Solves
Manual token exporting from Figma is slow, error-prone, and creates a disconnect between design and development. Existing tools often lack the flexibility to export for multiple platforms natively. This plugin solves that problem by providing a fast, automated, and multi-format export pipeline.
Key Features
Multi-Format Export: Natively export your tokens to 6 different formats, ensuring your code speaks the language of every platform:
- CSS (Custom Properties)
- Swift (iOS Development)
- Android (XML)
- Flutter (Dart)
- JSON (W3C Standard)
- Tailwind CSS (JavaScript Config)
Intelligent Alias Resolution: Accurately resolves complex, nested variable aliases to their final, concrete values while preventing infinite loops.
Smart Name Sanitization: Automatically converts your Figma variable names (e.g., Spacing/5 (20px)
) into the correct format for each platform (spacing-5
for CSS, spacing5
for Swift, spacing_5
for Android).
Context-Aware Unit Handling: Correctly identifies unitless tokens (like line-height
or font-weight
) and applies px
units to all other dimensions.
How It Works
- Organize Your Variables: Ensure your design tokens (colors, numbers, strings) are organized in Figma variable collections.
- Launch the Plugin: Open Token Exporter. It will automatically detect and display your collections.
- Filter Token Types: Use the toggles to select which token types you want to export (Colors, Numbers, States, Text).
- Select Collections: Choose which variable collections you want to include.
- Choose Formats: Select one or more export formats from the dropdown.
- Generate Your Tokens: Click "Package Tokens" to generate and download your perfectly formatted files.
--------------------------------------------------
Support & Feedback
Having issues or suggestions for improvement?
We'd love to hear from you!
--------------------------------------------------
Source Code & Contributions
This plugin is open-source! You can view the code, report issues, or contribute on GitHub.
--------------------------------------------------
Plugin Details
Version | 11 |
---|---|
Created | July 1, 2025 |
Last Updated | July 4, 2025 |
Category | Import & export plugins |
Creator | nate mills |
Stats | 5 installs, 2 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- https://cdnjs.cloudflare.com
- https://res.cloudinary.com
More Like This
Discover other plugins in the Import & export plugins category.