Skip to main content
Austin12
October 2, 2024
Solved

Menu Button Interaction

  • October 2, 2024
  • 1 reply
  • 100 views

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.
Best answer by Luke-Itineris

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
October 2, 2024

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.