Attempting to create My First Figma Plugin with ChatGPT:
A code-illiterate’s Journey

Attempting to create My First Figma Plugin with ChatGPT: A code-illiterate’s Journey

In the vast world where design and code intersect, I, a designer with a burning passion for accessibility, set out on an ambitious mission: to create a Figma plugin that would enhance the accessibility of mobile products. As someone who had ventured into learning HTML, Flutter, and JavaScript without ever completing a coding course, the path ahead seemed daunting. However, my determination to bridge the gap between design and accessibility pushed me forward.

That's when ChatGPT, came to my rescue. Without realizing how powerful it was, I began asking the invisible AI questions like ” Could you write a code for me to create XYZ?” and to my surprise, the chat window started generating code snippets, right before my eyes. It became my trusted engineer, tirelessly providing code revisions and fixes at my requests. It led me to Replit, an online code editor that did not require any extra development environment setup from my end.

No alt text provided for this image
Project setup in Replit, as guided by ChatGPT


Together, ChatGPT and I set up the project with HTML and TypeScript files, and the initial lines of code were simply pasted in. As per the instructions, I started downloading the code zip files and deploying them in the Figma dev environment to test out how it works.

No alt text provided for this image
Figma development environment... It's not that hard actually!


Whenever the expected results were not seen, I would simply paste the error code into the chat window and ChatGPT would reformat the code to remove the error. I was amazed to see how it introduced the monitoring code snippets so that I could actually see where the code went wrong, what information is being sent to the HTML file to render, and what is not being sent!

Through a series of iterations, my plugin started taking shape. With each successful code run, I started introducing newer features into the plugin code. I started off with a simple frame listing, then introduced the frame hierarchy, then introduced the button to mark certain frames as decorative (so that the accessibility features will ignore those). With each revision, my confidence in AI-enabled development grew, and I found myself embracing the challenge with excitement. It was a transformative journey that empowered me as a designer, allowing me to combine my creative instincts with my newfound coding buddy. After much perseverance, the moment of triumph arrived. My plugin, born out of the collaboration between a designer and AI, had evolved into a powerful tool that would make mobile products more accessible, fulfilling my vision of inclusivity.

No alt text provided for this image
Plugin as it looks today

There are a few limitations to this version of the plugin like the hierarchy has been set up with the use of '+' signs, and the 'navigate to' column does not capture any data.

No alt text provided for this image
Plugin with data filled in

The further steps include refining the plugin with the help of chatGPT-4 and making it more intuitive and focused on the task at hand. Once ready, it will be easy for every designer with accessibility in mind to communicate the ideas to the development team more effectively. Since the plugin will export all the data in a CSV file, it would also be helpful for the localization team to provide translations really fast.

In conclusion, my venture into creating a Figma plugin with the help of ChatGPT was a thrilling experience. It demonstrated that even without formal coding education, with the help of AI, it is possible to bridge the gap between design and development. This is very important when there is no budget/resources available for initiatives like these. This journey opened my eyes to the endless possibilities in the future with the help of AI.


Originally published at https://www.aakux.xyz/figma-plugin-with-chatgpt

要查看或添加评论,请登录

Aashutosh Kulkarni, CPACC的更多文章

  • The current state of app accessibility

    The current state of app accessibility

    With all the tools at our disposal, we are doing a remarkably bad job! in 2021, when people had nothing to do while…

    3 条评论
  • Designing for B2C vs B2B: an Insight

    Designing for B2C vs B2B: an Insight

    Product design encapsulates everything that makes a product successful, starting from research, all the way to testing…

  • Why Should Product Designers Give a Damn About Accessibility

    Why Should Product Designers Give a Damn About Accessibility

    Let’s take a slight detour to understand why did I start giving a damn about accessibility in the first place. sometime…

  • Working with Product developers

    Working with Product developers

    Controversial theories, but this is something that just might work! I have been working as a product designer for a…

  • Design system: when not to build

    Design system: when not to build

    Design systems are a hot topic right now. Everyone who has a product company to run is insisting on design systems to…

  • The making of la Ruche, a design system for our platform

    The making of la Ruche, a design system for our platform

    An effort towards maintaining consistency across the products by creating reusable components In 2020, I joined dista…

    1 条评论
  • Multitasking, UX and why you shouldn't combine them!

    Multitasking, UX and why you shouldn't combine them!

    Have you ever tried eating anything with the product shown above? Let me explain. It is a combination of three…

  • Mobile user experience design

    Mobile user experience design

    The use of mobile phones has been increasing exponentially since 2007. The tiny device where you can practically touch…

  • The best tool for UX existed since time unknown!

    The best tool for UX existed since time unknown!

    The freshly brewed UX designers sometimes ask you (since you have got experience working hands on) what is the best…

    1 条评论
  • Pure Visual Designers, Wake up!

    Pure Visual Designers, Wake up!

    Recently, Instagram changed their logo and and the overall look and feel of their mobile application. Most of the…

    1 条评论

社区洞察

其他会员也浏览了