Skip to main content
Question

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

  • June 23, 2023
  • 4 replies
  • 526 views

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 replies.

4 replies

Asaad_Mahmood
  • Author
  • 17 replies
  • June 23, 2023

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


tank666
  • 4873 replies
  • June 23, 2023

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


Asaad_Mahmood
  • Author
  • 17 replies
  • June 23, 2023

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.