Export local variables to Json
you can export all local variables as json
Plugin Preview
About this plugin
Plugin Overview
This plugin takes Local Variables of Figma and outputs them as a JSON file in Style Dictionary format. This allows design tokens to be efficiently reflected in the code.
Main Functions
1. Get Local Variables
- Color values
- Spacing
- Typography
and other variables are automatically retrieved
2. Maintain hierarchical structure
3. Value Conversion
- Colors: Convert from RGBA to HEX format
- Numbers: Manage decimal precision
- Variable references: Properly resolve aliases
How to Use
1. Launch the plugin in Figma
2. Click the "Export" button
3. Download the generated JSON file
Features
- JSON output compliant with Style Dictionary format
- Simple UI
- Error fallback handling
- Comprehensive validation
Applications
- Design system construction
- Batch management of design tokens
- Synchronization with codebase
This plugin enables seamless bridging between design and code.
Plugin Details
Version | 2 |
---|---|
Created | August 18, 2024 |
Last Updated | March 20, 2025 |
Category | Software development |
Creator | Libra850 |
Stats | 15 installs, 1 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:{"export": "src/ui/html/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.