Token Exporter
Bridge the gap from Figma variables to code
Export design tokens to 6 platforms, validated with Style Dictionary standards
Created with ❤️ by Nate Mills
The Challenge
Manual token export was slow and error-prone, creating a disconnect between design and development.
The Solution
Automated multi-format export with intelligent alias resolution and platform-native naming conventions.
The Impact
10x faster token export, zero manual errors, and a seamless design-to-code workflow.
Figma to Code
Bridging design and development with shared terminology
A successful design system relies on a shared understanding between design and development. This mapping translates Figma design concepts into their corresponding code implementations using Atomic Design principles.
Spacing, Alignment
FAQ
Common questions answered
Most exporters are one-size-fits-all. This one speaks each platform's native language—Swift for iOS, XML for Android, and W3C-compliant CSS for web. It understands context.
It's like pair programming with a team of specialists. I outline the goal, the AI suggests code, and I refine and test. What would take hours to research takes minutes. The 10x speed boost is real.
Figma's plugin security model was tricky; you can't load external CSS, so everything must be inlined. Also, handling deeply nested color aliases required robust recursive resolution logic.
It's production-ready with Style Dictionary validation, defensive code handling edge cases, and performance optimization. The token system validates 900+ design tokens with proper type inference and platform compatibility.
Starting from scratch is tempting but wasteful. Open Props is battle-tested, WCAG compliant out of the box, and saves months of work. I built on top of it rather than reinventing it.
Absolutely. It's open source on GitHub. The codebase is documented, modular, and designed for extension. Want to add a new export format? The pattern is clear. Found a bug? PRs are welcome.
Considering token transformations (e.g., px to rem), preset style mappings, and direct GitHub integration. Community feedback will drive priorities.
Built With
AI-powered development stack
Foundations
Color System
Comprehensive color palette with brand colors, neutrals, categories, and alpha values. Desktop uses expanded layout, mobile uses compact reference.
Typography
Foundational type scale and font definitions - the typographic building blocks that establish hierarchy and readability.
.text-heading-xl • var(--font-size-8)
.text-heading-lg • var(--font-size-6)
.text-heading-md • var(--font-size-4)
.text-body-lg • var(--font-size-2)
.text-body-md • var(--font-size-1)
.text-label • var(--font-size-0)
.text-caption • var(--font-size-00)
Spacing
Raw spacing values that serve as the foundation for all margin, padding, and gap measurements.
Effects
Visual effects including elevation shadows, glass morphism, and glow effects for creating depth and hierarchy.
Elevation Shadows
Glass Effects
Combine background opacity with backdrop blur for modern glass morphism effects. Each level pairs specific opacity with blur intensity.
Glow Effects
Borders
Border width values for consistent strokes and outlines throughout the interface.
Radius
Base radius values that create consistent corner treatments throughout the interface.
Motion
Raw timing and easing values that power smooth, consistent motion throughout the interface.
Icons
Industry-standard icon system with responsive sizing, design tokens, and optimized SVGs. All icons follow accessibility best practices and support multiple rendering methods. We use Lucide Icons because they're lightweight, open source, and align beautifully with modern UI standards — clean, scalable, and customizable.
color
type
numbers
states
chevron-down
chevron-up
chevron-left
chevron-right
arrow-left
arrow-right
arrow-up-right
external-link
close
plus
minus
rocket
filters
export
layers
package
copy
check
download
zap
sparkles
briefcase
component
wand
check-circle
circle-x
circle-alert
info
github
linkedin
figma
mail
--icon-xs
12px
--icon-sm
16px
--icon-md
20px
--icon-lg
24px
--icon-xl
32px
--icon-stroke-hairline
1px
--icon-stroke-thin
1.5px
--icon-stroke-regular
2px
--icon-stroke-bold
2.5px
--icon-stroke-heavy
3px
Components
Cards
The central dashboard component that displays the total count of design tokens. It transforms to show different states like loading, success, or an empty state if no tokens are found.
0%
Ready to export
Quick Export
Filters
Badges
Small, inline labels for categorization and status indication. Perfect for highlighting code elements, states, or categories.
Modals
Used for focused tasks or information, such as the "About" screen in the plugin. Features a blurred backdrop effect.