So I’m already able to add Colors, Frames with a Grid, and an Image via my plugin to a new Figma file.
But is there an easy way to add a Component with variants etc?
These would be my need:
Is it possible to build the component in Figma, extract the relevant JSON data, and seamlessly integrate it into my plugin? Or do I need to recreate the component entirely from scratch in code? via Shared Node Properties | Plugin API