Skip to main content
Question

How to set a boolean variable to a nested component instance?


Ahmad_Bin_Ashraf

Basically what i’m trying to do is to bind a boolean variable to the “cart-icon-button”, so that the badge is automatically toggled boolean variable’s state. Can somebody help how I can do that?

This topic has been closed for replies.

2 replies

Alex184
  • New Participant
  • 7 replies
  • July 18, 2023

Sorry, Figma doesn’t support it yet!

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

Figma Help Center

  • 0 replies
  • 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