Skip to main content
Question

Press button to swap components


Jason_Maiser

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?

This topic has been closed for replies.

2 replies

Nate_G
  • Power Member
  • 180 replies
  • December 6, 2023

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


Jason_Maiser

This was what I was looking for. Thank you Nate_G


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings