Skip to main content
Dennis_Keulen
Jul 6, 2023 11:55 AM UTC
Question

Change component variation from overlay click

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.

This topic has been closed for replies.

4 replies

Oct 22, 2023 5:05 PM UTC

Same question here. Did you figure it out?

Todd11
Nov 21, 2023 7:00 PM UTC

Ditto. I’m having the same issue.

Koch_Vivien
New Member
Mar 3, 2025 12:46 PM UTC

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

 

Mingxuan_Li1
New Member
Jul 18, 2025 7:01 PM UTC

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

 

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