Skip to main content
Solved

Button to different variants


trying to click the buttons to change the right side image to their number i have put them in a component to switch them in variants, but it doesnt work stays on image 1
Capture

Best answer by Geoffrey_Menissier

I think this one is exactly what you are trying to achieve :

View original
This topic has been closed for comments

5 replies

Raphael_M
  • Power Member
  • 394 replies
  • January 30, 2024

Hi, Marc.

Is it possible for you to share the file so I can check it?

Thanks!


  • Author
  • 2 replies
  • January 30, 2024

sure raphael here’s the link

Figma – 30 Jan 24

Raphael_M
  • Power Member
  • 394 replies
  • January 30, 2024

Hi, Marc.

Upon checking your file, you set all the scroll to to the same frame.

You need to set the buttons to the specific frame they should go to inside the frame.
image

btn 1 should scroll to Frame 1, btn2 to Frame 2…

I put a sample on your drafts. I did the same implementation you are trying to do among the many ways of doing a carousel.

If you have other questions, just let me know.

Thanks!


Geoffrey_Menissier

I think this one is exactly what you are trying to achieve :


  • Author
  • 2 replies
  • January 30, 2024

Thank you so much its clearer now


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