Skip to main content
Solved

Boolean variable binding removed in component


Iza_Zurczak

I made a boolean variable that checks if number value is one, and if it is then button should change state (default - disabled). The instance of this button is bound thith that boolean variable, but only if it stays NOT nested within another component.

I wanted to use that interaction in quite complicated “frame scenery” - heavily nested itself, so I got pretty frustrated that I cannot use it at all.

Is it some development bug or did I do something wrong? Maybe you could suggest a way around it if it was my fault indeed?

Best answer by Alex184

Figma doesn’t support this yet!

Variables can only be applied to top-level instances, and are not available for nested variant instances

Figma Help Center
View original
This topic has been closed for comments

ZAYD_OUNI

Same problem for me, i’m experiencing some issues with variable binding as I cannot bind a variable unless it’s an instance, it will be super beneficial if I can bind in the master component so I don’t need to bind each time I’m using that component…

also I noticed that binding isn’t stable when it comes to string type, i make sure i bind a variable then when i go back it’s not there…

hope Figma respond about it and I’m. sure they are receiving a lot of feedback as this is the beta version so I’m expecting a future update.


Alex184
  • New Participant
  • July 18, 2023

Figma doesn’t support this yet!

Variables can only be applied to top-level instances, and are not available for nested variant instances

Figma Help Center

  • August 17, 2023

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


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