I am using Visual studio code, Figma plugin, Figma desktop. I have my Figma file with a lot of component instances… In each component instance, I have number of properties. Using setProperties API, I am able to set the properties at run time. While I set each properties, the rendering images are also updating in Figma screen. Basically, I want to automate this.
I am able to set the properties one by one, and this different rendering screens, I convert as pngs. Once all the properties are set, I will have a sequence of images. I wish to export all these images as a zip file.
Can someone provide me an idea what are the requirements to export multiple images as zip? I tried JSZIP, it was not working.