Skip to main content
This topic has been closed for replies.
Best answer by Onkel_Tem

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 | Переключение варианта внутренним чекбоксом

1 reply

Onkel_Tem
Onkel_TemAuthorAnswer
November 23, 2024

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 | Переключение варианта внутренним чекбоксом