Skip to main content

Hey guys!


I really liked a toggle button I saw in the community:


Figma

And I am wondering if I can incorporate it into my prototype. The thing is - I would like for it to open an overlay when toggled “on” and to close that overlay when toggled “off” ; I’ve been researching for a few hours now but it seems pretty “not straightforward”, what am I missing?

I have want to do the same. Does anyone have an answer to this?

Please and thank you! <3


@Lene_Olsen @k_zdravkov When you open an overlay any buttons underneath it will not be active (you can’t click them). So you could click a toggle button to open an overlay but then you wouldn’t be able to click the toggle button underneath the overlay to close it.


But you can get around this by showing/hiding an element.


View Prototype

Get Example File




Thank you <3