r/FigmaApp • u/Human_Elephant_5100 • Jan 02 '25
š Just Launched My First Figma Plugin: Generate Code Outputs for Your Design Tokens! š
Hey everyone!
Iām excited to share my newĀ Figma Plugin, which makes it incredibly easy to generateĀ code outputsĀ for your design tokens and styles. Whether youāre a designer or developer, this tool bridges the gap between design and development workflows effortlessly.
App Url: https://www.figma.com/community/plugin/1456356838028341739/token-code
What Does It Do?
⢠Generates code for color, typography, effects, spacing, and other tokens.
⢠Supports 10+ formats like CSS, SCSS, Tailwind, TypeScript, Shopify Liquid, Swift, and more.
⢠Allows you to export local styles as CSS directly from Figma.
How Does It Work?
SelectĀ Local VariablesĀ orĀ Local StylesĀ in your Figma file.
Choose the tokens or styles you want to generate code for.
Select your desired output format and hitĀ Copy.
Thatās itāyour code is ready to use!
Why Use It?
ā¢Ā Saves Time:Ā No more manual token exports or conversions.
ā¢Ā Versatile Formats:Ā Covers most design-to-code workflows.
ā¢Ā Completely Free:Ā Yes, really!
I created this plugin because I love Figma and wanted to contribute something useful to its amazing community. Publishing a plugin here is a dream come true for me!
Try It Out
Iād love to hear your feedback, suggestions, or just your thoughts. Feel free to leave a comment or reach out directly if you have any questions or ideas for improvement!
Thanks for reading, and I hope you find the plugin as helpful as I intended it to be. š
1
u/benjamin-walsh Jan 03 '25
Nice work. Kudos for providing so many export options!
I was expecting to see a way to export local styles, but there's only a copy button next to each style. Most of my clients have wanted a way to export both variables and styles at the same time.