Skip to main content
Austin12
Oct 2, 2024 7:57 AM UTC
Solved

Menu Button Interaction

Hey everyone, pretty new to Figma and I can’t seem to figure this out. I’m trying to create a menu sidebar that slides over when I press my menu button. I have my button and sidebar in a component and I can get the sidebar to appear when I press the menu button using changeTo. The problem I’m having is that no matter how I arrange the sidebar in the component box, when I run my prototype, the sidebar appears right where the button is in my frame. Is there a way to set where the sidebar will appear using changeTo? Thanks!

This topic has been closed for replies.
Luke-Itineris
Active Member
Oct 2, 2024 3:06 PM UTC

Don’t use changeTo. Just use overlay.

So your button triggers an overlay which is set to top right, and closed upon clicking outside of it.

1 reply

Luke-Itineris
Active Member
Oct 2, 2024 3:06 PM UTC

Don’t use changeTo. Just use overlay.

So your button triggers an overlay which is set to top right, and closed upon clicking outside of it.