Figma Plugin to convert HTML to Figma. Open source version of html.to.design
web-app: Code for the web page describing the productplugin: Figma plugin that is directly used in the Figma app
One promise of Generative AI is that a model might be able to come up with a Figma when prompted. However, models are more likely to produce designs through code (token-based) since that what they were trained on.
One work around is to having an LLM produce a Figma is:
- Have the LLM come up with code for the design in HTML + CSS
- Create a tool to convert HTML + CSS to Figma nodes
- Take that produced Figma node and paste it into a Figma file
For 2, the only software solution is html.to.design, which costs money. This project aims to produce an open-source alternative
Follow this guide for how to build and test a Figma Plugin
Install dependencies:
cd plugin
npm install
cd plugin
npm run test
cd web-app
npm install
npm run dev