Press button to swap components

Hello community! I need some help. I am creating a prototype that has a sidebar navigation. When the user clicks on a button, I want to swap the component on the main page. I would like to do this without creating new versions of each page. Are there any tutorials that show how to do this?

Here is a quick example of how you could do that using variables and changing variants. Another approach could be using booleans to show or hide components.

View Prototype
Get Example File

1 Like

This was what I was looking for. Thank you Nate_G

1 Like