Skip to main content
Question

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

  • July 11, 2023
  • 2 replies
  • 1012 views

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

  • August 17, 2023

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