Skip to main content

Sometimes I want one boolean component property to both show something, and hide something else.


It would be cool to be able to not only assign a boolean property to layer visibility, but also to indicate that it should show the layer if the property is false.


Example scenario: Imagine a situation where I’m designing favourites section on the app’s sidebar. I want a sidebar to be a component. Now when favourites is empty, I want to show an empty state with a CTA instead of the CTA. And I want to add a toggle that both hides an empty state, and shows a list of favorite items.

Hey @Martin_Maricak, thanks for the feedback!


We’ll pass this idea onto our team for future consideration.


Reply