Skip to main content

I’m trying to create a componentSet with two components inside but I can’t find anything in the plugin api that lets me achieve this?


Any guidance on how?


I can clone an existing ComponentSet and insert the components but it seems like an oversight I can’t just create that node type via the api

You should use figma.combineAsVariants(): combineAsVariants | Plugin API


There is no figma.createComponentSet() API because component sets cannot be empty.