Skip to main content
Question

Is there a way to create a variable group in a variable collection using the API?


Asaad_Mahmood

I was trying to search for a way to create a group in a variable collection using Figma’s API, but wasn’t able to find something.

I tried finding it: figma.variables | Plugin API

This topic has been closed for comments

4 replies

Asaad_Mahmood

Bro, I’m asking how to do that using the Figma API…


tank666
  • 4863 replies
  • June 23, 2023

Change the variable name to something like this: group/variableName.


Asaad_Mahmood

Oh man, you are right. Not sure why I was trying to create a group manually. I’m mad!!!


Hamed_Zakery_Miab

You’re not alone 🙂 There’s no documentation for this, and you have to create a group and fetch the names to understand.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings