Button changing leads to different carousels

What I want to do is that when i click photos button, it opens the photos carousel and when i click videos it opens the video carousel , i have created functioning carousels that move and now they are within different component sets, however i cannot make the effect where when you click photos it goes to the suitable carousel and likewise, how can this effect be achieved in Figma (also my intention is that the carousels should be in the same position, only switched when pressed the button).

So far I’ve tried: Merging the 2 carousels into a component set called comp 11, and connect the button and choose navigate to comp 11 but it only works for top-level frame.

Screenshot 2024-08-04 152426

1 Like

Hi there,

Thanks for reaching out!

Since I haven’t reviewed your components, I’m not entirely sure what’s happening. However, I think interactive components with Smart Animate might help you achieve your goal. You can check out these resources for more information:

If you can share a screen recording of what’s happening, I might be able to assist you better! Please let me know how we can help.

Thanks,
Toku