Show or hide component in same frame as a "Set Visibility" interaction option

So I have a link on a page that if clicked should enable another form or section further down the page, and if unchecked, hides it.

The ideal is that if it shows it, the auto-layout adjust the page and vice versa.

In CSS it would mimic a div that is set to display: none; and the click turns it to display: block;

Is there something in the works for this or a workaround through a plugin?

6 Likes

Curious about this too. Without an ability on “Click → Show/Hide X” I have to create many more frames and interactions which feels unnecessary. Is something like this planned?

5 Likes

it will be awesome

This feature would be so useful! I’m surprised it’s not implemented yet.

Could you explain to me what the workaround would be?

Agreed- I would love a “Display” component property that works the same way it does in HTML and to be able to control it via a boolean variable.

To get around this I’m creating a variant called “Hidden” that has a fixed width/height of .01px and swapping it via a string variable. It works for my purposes, but is far from ideal…