On this page
About variables2css
variables2css is a free Figma plugin published by Kai-Uwe Hella in 2023. It works in Figma Design and Dev Mode and has 27,783 users and 353 likes on the Figma Community. It ranks #6 in Variables & Tokens and #20 in Developers on our lists.
In the developer's words
Convert Figma design variables, including colors and numbers, into CSS, Sass, Tailwind, Stylus, Json, Less or Javascript (Styled-Components) variables to save time and ensure accuracy. Use it in Figma: Design and Development mode.
How to use it:
- Select your collection and now also choose specific modes within that collection.
- Choose your output language: CSS, Sass, Tailwind, Stylus, Json, Less, or Javascript (Styled-Components).
- Select your preferred conversion: Hex, RGB, or HSL for colors and PX or Rem for units.
- Include all themes if you've created themes in your collection, such as dark/light mode.
- Ignore aliases to export base values or use the root alias as the variable name instead of the semantic alias.
- Choose whether to add fallback for variables.
- Generate your variables
What's New:
- Saved export settings: Your last export settings are saved and automatically selected when you reopen the plugin.
- Font Weight Scope: When the variable is scoped exclusively by font weight, the number is now output without a unit.
- String Export:Now, you can also export your string variables easily.
- Mode Selection:You can now select not just a collection but also specific modes within that collection, giving you greater flexibility and control over your design exports.
- New Design: Enjoy a completely redesigned interface that enhances usability and streamlines your workflow.
Notice:
- RGB Output Update:We've updated the RGB format to the new CSS standard: use rgb(255 0 0) for opaque colors and rgb(255 0 0 / 0.5) for transparent colors.
- In the JSON export, the attribute previously known as "color" has been renamed to "value" within the color array objects. This change affects how colors are represented in the exported JSON. Please update your integrations accordingly.
What's new
Version 51 · released Aug 31, 2025
The developer didn't publish release notes for this version.
Permissions and privacy
Network access
variables2css declares no network access, so it runs entirely inside Figma and can't send your file anywhere.
Extra permissions
None beyond the standard access to the file you run it in.
Read from the plugin's published manifest.
Where variables2css ranks
variables2css alternatives
- 1

Styles & Variables Organizer
by Chenmu Wu
134K users3.2KFree + $15 upgradeApply styles and variables to all your designs with one click!
- 2

Export/Import Variables
by Honza Toman
85K users1.7KFreeExport variables from one file and import them to another. Supports modes, references, and scopes.
- 3

Design Tokens
by Lukas Oppermann
62K users1.9KFreeExport design tokens to JSON or GitHub.
- 4

Figma Tailwindcss
by Jan D'Hollander
53K users606FreeExport design tokens to tailwind theme
- 5

Kigen
by vijay verma
34K users1.7KFreeCreate Design System Variables, Tokens, Styles and more with documentation
- 25K users188Free + paid features
Save, copy, and reorder variables across files easily
variables2css FAQ
What does variables2css do?
Convert Figma Variables to CSS, Sass, Tailwind, Json, Javascript (Styled-Components), Less or Stylus. It's a Figma plugin by Kai-Uwe Hella that runs in Figma Design and Dev Mode.
Is variables2css free?
Yes. variables2css is free to install and run from the Figma Community, with no paid tier listed.
Is variables2css safe to use?
Figma plugins can only reach the internet through domains listed in their manifest. variables2css declares no network access, so it runs entirely inside Figma and can't send your file anywhere. As with any plugin, check the developer's privacy policy before using it on client work.
How do I install variables2css?
Open it on the Figma Community, or search for it in the Actions menu (Cmd/Ctrl + K) inside any file you can edit. See how to install Figma plugins.
What are the best alternatives to variables2css?
By user count, the closest alternatives are Styles & Variables Organizer, Export/Import Variables and Design Tokens. Compare all of them on the best Figma plugins for variables & tokens.
Built this plugin?
Use this page as a landing page for variables2css: link to it from your site, README or launch posts, or add a badge. Pick a style and copy the code.
Style
Label
Size
Code
<a href="https://figmaplugins.co/plugins/variables2css/" target="_blank" rel="noopener"><img src="https://figmaplugins.co/badges/featured-dark.svg" alt="variables2css on figmaplugins.co" width="220" height="48"></a>