Skip to main content

Component Boolean - Hide when True


dcmaia-nectar

Currently, using Figma component boolean properties, it only shows when true and hides when false. What if you could switch those around?

For example, when something is true, it could show some elements, and hide others. For example, a product thumbnail- when “on sale” is true, show sale icon, show strikethrough price, but also hide original price and replace it with a bolded/colorful/what have you of price.

Or if ‘Out of Stock’ is true, show all the ‘out of stock’ stuff material, but also hide the ‘add to cart’ button. Stuff like that.

Currently you have to create new variants just to show + hide things at the same time, or add redundant switches like ‘In Stock’ and ‘Out of Stock’ and just make sure they never have the same state.

11 replies

y_toku
Figmate
  • Community Support
  • 2383 replies
  • March 8, 2024

Hi there,

Thank you for sharing your idea! We greatly value your feedback, and we would like to gauge the reaction of other members in the community. We may consider it for future enhancements!

Thanks,
Toku


wgo
  • New Participant
  • 41 replies
  • March 11, 2024

Would definitely use this! 💯%


Sebastian_Carlson

Yaas! Need this!


Will_Snow1

This exact situation just cropped up in my work.

Would make it so much more elegant if this was possible, instead have to create variants etc etc.


Markus_Hofmann

Must have! We have a lot of conditional design elements in components. For example a component might include a profile picture, but if none is provided we show something else instead.


Shayne
  • 7 replies
  • August 15, 2024

Would definitely use this feature!


Andreas_Petrov

This is an absolute no-brainer of a feature! 


Christine24
  • New Member
  • 1 reply
  • January 24, 2025

+1 on this. would be so useful to have a boolean to turn x on and y off at the same time.


Renan_Castro
  • New Member
  • 2 replies
  • February 10, 2025

☝ +1.

In the last month I found myself needing this feature multiple times. It would save a lot of unnecessary component variants and simply allow us to hide/show multiple layers in a single variant boolean toggle 🙏


David51
  • New Member
  • 2 replies
  • March 5, 2025

Need this, please.


Joris5
  • New Member
  • 1 reply
  • April 3, 2025

yes, a no brainer!

Has this been fixed already?
Is there a workaround for now?


Reply


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