VarVar
Export Figma Variables to JSON, JS, CSV or CSS (also Tailwind CSS)
Plugin Preview
About this plugin
VarVar is a Figma plugin that allows you to export your Figma variables to JSON, JS, CSV, CSS, or Tailwind CSS formats, making it easier to integrate your design tokens into your development workflow. Now with format-specific menu commands for faster exports!
Features
- Multiple Export Formats: JSON, JavaScript, CSV, CSS, and Tailwind CSS
- Format-Specific Menu Commands: Direct access to each export format from the Figma menu
- Linked Variable Support: Properly handles linked variables across all formats
- Preview & Copy: Preview exported data and easily copy to clipboard
- Download: Exported variables can be downloaded as files
- Row/Column Positioning: CSV option for spreadsheet formula-like linking
Linked Variable Handling
- JSON: Linked variables start with
$.VARIABLE.PATH - JavaScript: Linked variables are referenced directly like collection.mode.variable
- CSV: Linked variables start with
=VARIABLE/PATH(with optional row/column positioning) - CSS: Linked variables use CSS custom property syntax:
--var-name: var(--VARIABLE) - Tailwind CSS: Linked variables use CSS custom property syntax with Tailwind naming conventions
*Note: When dealing with linked variables that have multiple modes, the plugin will only link to the first occurrence (i.e., the first mode it finds).
Usage
Design Mode
- Open your Figma file containing variables
- Run the VarVar plugin from the Plugins menu
- Choose your desired export format (JSON, JS, CSV or CSS)
- Click "Export Variables"
- Click "Download File". If `Preview output` is off, the exported file will be automatically downloaded
Dev Mode
- Open your Figma file containing variables
- Switch to Dev Mode
- Run the VarVar plugin from the Plugins menu
- Choose your desired export format (JSON, JS, CSV or CSS)
- Click "Export Variables"
- Click "Download File". If `Preview output` is off, the exported file will be automatically downloaded
Preview and Copy
- Toggle the "Preview output" switch to see the exported data within the plugin interface.
- Copy the results in one click!
VarVar is open source, consider contributing. Code available on GitHub.
For bug reports, suggestions, or questions, please open an issue.
Plugin Details
| Version | 5 |
|---|---|
| Created | February 19, 2024 |
| Last Updated | October 11, 2025 |
| Category | Software development |
| Creator | Felipe Hefler |
| Stats | 163 installs, 21 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:src/index.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Software development category.
Figma to Code (HTML, Tailwind, Flutter, SwiftUI)
Code Conversion Made Easy: Figma to Web & Apps
Builder.io - Figma to Code & AI Apps (React, Vue, Tailwind, etc)
Export designs to clean, responsive code or turn Figma screens into AI apps and prototypes.
SkewDat
Skew any layer or group with all layers preserved to edit.