Skip to main content
Solved

Can I use boolean property prototyping?


Hello!! I would like to know if I can use the boolean property functionality in prototyping?

I need the left side menu in the preview of my dashboard to change depending on the button clicked, but I don’t want to duplicate screens.

Can somebody help me?

Best answer by Andrew_Harrisan

I’ve just figured it out… you can use multiple interactive Booleans (hover and click states) in multi-variant Components. The hover bit is easy…
However, for click states - wrap the button you want to use (to invoke a change in layout), in an auto-layout frame within your master component.
I found that this works a charm (for example - on expand / collapse UI, using a hamburger button within a Header bar)…

View original
This topic has been closed for replies.

3 replies

Haroll
  • Active Member
  • 273 replies
  • March 23, 2023

Hi @Goncalo_Fortes

As explain on the documentation:

Prototyping noodles must connect between two objects. If you connect two components and consolidate them using boolean properties, the prototyping connections will be lost.

Figma Learn - Help Center

Andrew_Harrisan

I’ve just figured it out… you can use multiple interactive Booleans (hover and click states) in multi-variant Components. The hover bit is easy…
However, for click states - wrap the button you want to use (to invoke a change in layout), in an auto-layout frame within your master component.
I found that this works a charm (for example - on expand / collapse UI, using a hamburger button within a Header bar)…


Kara_Miekina3
  • New Participant
  • 6 replies
  • June 21, 2024

ahhhhhhhhh this stinks and kinda makes it not worth it to use!..time to redo all my checkboxes and radios so they work in prototypes 😦


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