Skip to main content
dcmaia-nectar
March 6, 2024

Component Boolean - Hide when True

  • March 6, 2024
  • 21 replies
  • 2563 views

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.

21 replies

y_toku
Figmate
Community Support
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
Active Member
March 11, 2024

Would definitely use this! 💯%

Sebastian_Carlson
June 11, 2024

Yaas! Need this!

Will_Snow1
July 10, 2024

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
July 24, 2024

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
August 15, 2024

Would definitely use this feature!

Andreas_Petrov
New Member
January 21, 2025

This is an absolute no-brainer of a feature! 

Christine24
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
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
March 5, 2025

Need this, please.