Token Sniff
Export Tokens to CSS Variables
Plugin Preview
About this plugin
A Figma plugin that exports all variables from the current Figma file and displays them as CSS Variables for easy review, copying, and downloading.
Features
- Export Variables: Extracts all variables from the current Figma file
- Multiple Formats: Supports Color, Number, String, and Boolean variable types
- Nested Structure: Organizes variables in a hierarchical structure based on their names
- Copy to Clipboard: Easy one-click copying of exported variables
- Download CSS File: Download variables as a CSS file with timestamp
- Unit Support: Add units (px, em, rem, %, pt, ms, s) to numeric values
How to Use
- Open a Figma file that contains variables
- Go to Plugins > Token Sniff - Export Tokens to CSS Variables > Export Variables
- Click "Export Variables" to extract all variables from your Figma file
- Select number units if needed (px, em, rem, %, pt, ms, s)
- Review the exported variables in the formatted structure
- Click "Copy to Clipboard" to copy the variables to your clipboard
- Click "Download CSS" to save the variables as a CSS file
- Use the exported variables in your design system or development workflow
Output Format
The plugin exports variables as CSS Variables:
Download Functionality
The plugin now supports downloading variables as CSS files:
- Automatic Naming: Files are named with timestamp (e.g., figma-variables-2024-01-15T10-30-45.css)
- Direct Download: Files are downloaded directly to your default download folder
- CSS Format: Variables are formatted as CSS custom properties ready for use in projects
- Multiple Collections: Each variable collection is exported as a separate CSS block with comments
Privacy & Data Handling
This plugin does not collect, store, or transmit any user data. All processing happens locally within the Figma application. No external servers are contacted during plugin operation.
Plugin Details
Version | 5 |
---|---|
Created | July 3, 2025 |
Last Updated | August 5, 2025 |
Category | Software development |
Creator | Sachin |
Stats | 1 installs, 1 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:{"export": "export.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 - AI-Powered Figma to Code (React, Vue, Tailwind, & more)
Export designs to responsive code (React, HTML, Vue, Tailwind, etc) with AI
SkewDat
Skew any layer or group with all layers preserved to edit.