Skip to main content
Asaad_Mahmood
June 23, 2023
Question

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

  • June 23, 2023
  • 4 replies
  • 622 views

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
June 23, 2023

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

tank666
June 23, 2023

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

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Asaad_Mahmood
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
September 27, 2024

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