Skip to main content
Question

Change component variation from overlay click


Dennis_Keulen

Hey all,

I have a question regarding something i am trying to achieve in prototyping.

I got a main CTA button and next to that CTA button i have a dropdown select, i have several variants made containing both the CTA and dropdown select, lets call these 2 combined the CTA button from here.

  1. From variant A, i click the dropdown and show a dropdown menu with options as an overlay.
  2. Now when i click an option from the overlay, i want too change the CTA variant and close the overlay.
    Figma_qXIjP8vKlO

I can link from the dropdown select from the variant component to the overlay frame to show the overlay, but I cannot link from the overlay back too the variants component and choose too change the variant (point 2 from above).

Wat is the current method to achieve this?
I don’t want to switch frames, because nothing inside the frame (with like 20 components) changes except for the select showing the chosen option/variant.

4 replies

  • 4 replies
  • October 22, 2023

Same question here. Did you figure it out?


Todd11
  • 2 replies
  • November 21, 2023

Ditto. I’m having the same issue.


Koch_Vivien
  • New Member
  • 1 reply
  • March 3, 2025

Faced also a similar problem – this video helped me to solve my issue :)

 


Mingxuan_Li1
Koch_Vivien wrote:

Faced also a similar problem – this video helped me to solve my issue :)

 

Yes, this solved the problem. Need to create a global variable. 


Reply


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