Back to Plugins
VarToCode

VarToCode

Export Figma Variables & Styles to Tailwind v4.1 and JSON

Plugin Preview

VarToCode preview

About this plugin

VarToCode exports Figma Variables and Styles to Tailwind CSS v4.1 and JSON. It uses the @theme syntax to generate production-ready tokens instantly, with support for light/dark mode, per-page or full-document exports, and raw JSON output. To use it, click "CSS" to generate your tokens, then import the file into your project alongside Tailwind. Library styles should be imported into your document before exporting; larger files may take slightly longer to process. All processing runs locally inside the Figma plugin runtime — no data is collected, transmitted, or stored externally.

Plugin Details

Version2
CreatedFebruary 7, 2026
Last UpdatedMarch 5, 2026
CategoryImport & export plugins
Creatorgummi
Stats0 installs, 0 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:dist/code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma