#Show/Hide another component on click event
4 messages · Page 1 of 1 (latest)
But you dont want it to be a component? is that correct?
I was going to say, just make the component plus a hidden image variant and smart animate it. But not sure if youre saying you dont want it to be a component.
is it just one image you are wanting this to happen with? Or are you wanting the one button to trigger a show/hide for multiple images?
Hey @rare jetty ! You can still make it on the free plan, though i can definitely see how with the pro features it could be nicer.
You woulld need to make what @lavish atlas has described basically.
Make a component set with two variants, one where there is the text + button, and another that has the images + button. Add an interaction between them with an on click interaction from the button. And then take an instance of the first variant and paste it on your portotype frame.