Variables Exporter
Export Figma variables as CSS, TypeScript & JSON — with aliases intact
Plugin Preview
About this plugin
Variables Exporter extracts all variable collections from your Figma
file and exports them in formats developers can use immediately —
no manual copy-pasting, no lost references.
THREE EXPORT FORMATS
→ CSS Custom Properties → tokens.css
Variables become --custom-properties, ready to @import in any
project. Aliases automatically resolve to var(--referenced-name).
Multiple modes export as [data-theme="mode-name"] selectors,
so light/dark theming works out of the box.
→ TypeScript → tokens.ts
A fully typed `as const` object with every token. Semantic tokens
reference primitives as var(--name) strings — compatible with
CSS-in-JS, Tailwind, and any TS-based design system.
Includes TokenKey and TokenValue types for type-safe access.
→ JSON → export.json
W3C Design Token format. Aliases are preserved as {path.to.token}
references with full $type, $scopes, and $collectionName metadata.
Ready for Style Dictionary, Theo, and other token pipelines.
KEY FEATURES
• Choose exactly which collections to export — skip what you don't need
• Search and sort collections by name
• Variable aliases and cross-collection references always preserved
• Multi-mode collections export with correct CSS selectors per mode
• Numbers get proper CSS units (px) based on their Figma scope
• Works with local variables — no external dependencies
WHO IS THIS FOR
Front-end developers and design system teams who maintain a single
source of truth for design tokens in Figma and need a reliable,
zero-friction way to sync them into code.
Plugin Details
| Version | 3 |
|---|---|
| Created | February 28, 2026 |
| Last Updated | March 6, 2026 |
| Category | Import & export plugins |
| Creator | Max Harmash |
| Stats | 5 installs, 4 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.
html.to.design — by ‹div›RIOTS — Import websites to Figma designs (web,html,css)
Convert any website into fully editable Figma designs
Anima - Figma to Code React, HTML, CSS, Tailwind, MUI (DevMode Inspect React / HTML / Vue / CSS)
Anima - AI Powered Design to code
Figma to HTML
Convert Figma design to HTML