Figma to React Native
<p><strong>All in One Figma to React Native plugin. Design Tokens + Code Generation + Sync with GitHub in one single plugin!</strong></p><h2><br></h2><h2><strong>✅ Features</strong></h2><ul><li><strong>Import Figma Styles into Design Tokens</strong> like Color Styles, Text Styles, Effect Styles and Grid Styles.</li><li><strong>Batch edit Figma Properties using Design Tokens.</strong> Choose a token and update all Figma linked properties at once.</li><li><strong>Generate React Native code for any selected Figma Node.</strong> If you are using Auto Layout, generate responsive / usable React Native code for any Figma Node you select (i.e. an entire screen/frame or just a container). Choose between StyleSheet, Restyle (including Restyle Theme) and styled-components libraries for the generated code.</li></ul><h2><br></h2><h2><strong>✅ How does it work?</strong></h2><ul><li><strong>First, create as many Figma Styles as you want and use them on your Figma Document. </strong>Once you open the plugin, it will automatically convert them into Design Tokens and you will be able to export them to JSON or directly send to a GitHub repository.</li><li><strong>On the plugin UI, create as many custom Design Tokens as you want.</strong> Create tokens for sizes, spacing, borders etc, link them to Token Groups (you can also create groups like Sizes, Spacing, etc) and they will be also exported to code whenever you want.</li><li><strong>On the plugin UI, link your tokens to Figma properties.</strong> When the plugin is opened and you select a Figma Node (like a Frame representing a screen), you can see all node properties on the Properties Tab. Link any of those properties to any of your Design Tokens (i.e. paddingBottom to a XL Spacing token, for example). Later you will be able to change your token value and update all linked properties at once.</li><li><strong>Where is the plugin data stored?</strong> All the plugin data is stored as part of the Figma document / file. The data you see when you open the plugin depends on which document is opened at the moment (current page doesn't matter).</li><li><strong>Who can see my Design Tokens?</strong> If you have a team of designers and developers, anyone that access the same document and open the plugin inside it will be able to see and update the tokens (including properties linked tokens).</li></ul><p><br></p><h2><strong>🚧 Roadmap</strong></h2><ul><li>Support StyleSheet code generation</li><li>Support Restyle code generation (currently only theme code is generated properly)</li><li>Smart Tokens (ability to use percentage and math expressions to token values)</li><li>Auto update Figma when tokens are changed</li></ul>
Plugin Preview
About this plugin
All in One Figma to React Native plugin. Design Tokens + Code Generation + Sync with GitHub in one single plugin!
✅ Features
- Import Figma Styles into Design Tokens like Color Styles, Text Styles, Effect Styles and Grid Styles.
- Batch edit Figma Properties using Design Tokens. Choose a token and update all Figma linked properties at once.
- Generate React Native code for any selected Figma Node. If you are using Auto Layout, generate responsive / usable React Native code for any Figma Node you select (i.e. an entire screen/frame or just a container). Choose between StyleSheet, Restyle (including Restyle Theme) and styled-components libraries for the generated code.
✅ How does it work?
- First, create as many Figma Styles as you want and use them on your Figma Document. Once you open the plugin, it will automatically convert them into Design Tokens and you will be able to export them to JSON or directly send to a GitHub repository.
- On the plugin UI, create as many custom Design Tokens as you want. Create tokens for sizes, spacing, borders etc, link them to Token Groups (you can also create groups like Sizes, Spacing, etc) and they will be also exported to code whenever you want.
- On the plugin UI, link your tokens to Figma properties. When the plugin is opened and you select a Figma Node (like a Frame representing a screen), you can see all node properties on the Properties Tab. Link any of those properties to any of your Design Tokens (i.e. paddingBottom to a XL Spacing token, for example). Later you will be able to change your token value and update all linked properties at once.
- Where is the plugin data stored? All the plugin data is stored as part of the Figma document / file. The data you see when you open the plugin depends on which document is opened at the moment (current page doesn't matter).
- Who can see my Design Tokens? If you have a team of designers and developers, anyone that access the same document and open the plugin inside it will be able to see and update the tokens (including properties linked tokens).
🚧 Roadmap
- Support StyleSheet code generation
- Support Restyle code generation (currently only theme code is generated properly)
- Smart Tokens (ability to use percentage and math expressions to token values)
- Auto update Figma when tokens are changed
Plugin Details
Version | 9 |
---|---|
Created | December 17, 2021 |
Last Updated | March 7, 2022 |
Category | Software development |
Creator | Erisvaldo Junior |
Stats | 2890 installs, 135 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:dist/ui.html
- main:dist/code.js
- Editor Types:figma
More Like This
Discover other plugins in the Software development category.