Skip to main content

Hi folks!


I cannot find a way to switch variant on checkbox/switch change.



Any ideas?



Answering to myself.


I managed to do this via Variables.



  • make both variant switching prop and the checkbox switcher prop of the bool type

  • create a so called “LocalVariable” of the type bool too

  • connect the instance variant prop and checkbox switcher prop to the created local variable


Details are in this video that I recorded today:


Figma: switch variant from child checkbox/switch | Переключение варианта внутренним чекбоксом|Figma: switch variant from child checkbox/switch | Переключение варианта внутренним чекбоксом