0
100
200
300
400
500
600
700
800
900
1000
1100
0
100
200
300
400
500
600
700
800
900
1000
1100

variables2css

Convert Figma Variables to CSS, Sass, Tailwind, Json, Javascript (Styled-Components), Less or Stylus

by Kai-Uwe Hella

users
28K
likes
353
saves
3.5K
comments
139
FreeWorks inFigma DesignDev Mode
Price
Free
Latest version
v51 · Aug 31, 2025
First published
Jul 13, 2023
Publisher
Kai-Uwe Hella
Features

What variables2css does

What the plugin declares in its manifest.

  • Manifest

    Dev Mode panel

    Adds a panel to Dev Mode's Inspect tab.

On this page
Overview

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:

  1. Select your collection and now also choose specific modes within that collection.
  2. Choose your output language: CSS, Sass, Tailwind, Stylus, Json, Less, or Javascript (Styled-Components).
  3. Select your preferred conversion: Hex, RGB, or HSL for colors and PX or Rem for units.
  4. Include all themes if you've created themes in your collection, such as dark/light mode.
  5. Ignore aliases to export base values or use the root alias as the variable name instead of the semantic alias.
  6. Choose whether to add fallback for variables.
  7. Generate your variables

What's New:

  1. Saved export settings: Your last export settings are saved and automatically selected when you reopen the plugin.
  2. Font Weight Scope: When the variable is scoped exclusively by font weight, the number is now output without a unit.
  3. String Export:Now, you can also export your string variables easily.
  4. 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.
  5. New Design: Enjoy a completely redesigned interface that enhances usability and streamlines your workflow.

Notice:

  1. 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.
  2. 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.
Changelog

What's new

Version 51 · released Aug 31, 2025

The developer didn't publish release notes for this version.

Trust

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.

Rankings

Where variables2css ranks

Compare

variables2css alternatives

  1. 134K users3.2KFree + $15 upgrade

    Apply styles and variables to all your designs with one click!

  2. 85K users1.7KFree

    Export variables from one file and import them to another. Supports modes, references, and scopes.

  3. 3

    Design Tokens

    by Lukas Oppermann

    62K users1.9KFree

    Export design tokens to JSON or GitHub.

  4. 4

    Figma Tailwindcss

    by Jan D'Hollander

    53K users606Free

    Export design tokens to tailwind theme

  5. 5

    Kigen

    by vijay verma

    34K users1.7KFree

    Create Design System Variables, Tokens, Styles and more with documentation

  6. 25K users188Free + paid features

    Save, copy, and reorder variables across files easily

FAQ

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.

For developers

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.

variables2css on figmaplugins.co

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>