
Coding a Figma plugin with ChatGPT
I’m writing this because I’m hoping to encourage someone to try something similar. I also wanted to document my growth.
I was struggling to manage copy in my design files

🫤
At first I thought it would likely be impossible. “Other people solve problems with code,” I thought. “I’m just a designer.”

Enter me, failing over and over
I spent a lot of long nights asking ChatGPT to “help me fix this” or “what is this piece of code doing” and “help me modify this part.” Sometimes it would give me code that was simply wrong, and I would have to figure that out.
Similar to ‘Pinky and the Brain”, whenever the Brain’s (ChatGPT) overcooked plans didn’t work out, I was there to state the obvious and keep it on track.
Every time I saw progress (slow as it may have been), it pushed me to try new things and go further than I had previously. Even if it may have been 1am on a Saturday. I was hooked.
🧐
While coding with ChatGPT was difficult, it was easier than I expected, and certainly not impossible.

Then I succeeded
Eventually I made an MVP, got some kind friends and coworkers to test it, made another version, tested that version, and then finally published a third version of the plugin for use. The real success though, it what I learned by going through this process.
💪🏼
I felt like I had conquered the world

So what does the plugin do
The plugin creates a source of truth using Figma’s variables feature. You can then link any text layer to this source of truth so that when that source is updated, it updates all the text layers referencing it. Saves me LOADS of time.
If you’re curious, here’s a link to the Figma plugin I made.

What did I learn/gain?