Skip to main content
Ahmad_Bin_Ashraf
July 11, 2023
Question

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

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.