Skip to main content
Solved

Simultaneous interactive components animation


Sandra_Gonzalez

Hi,
I was wondering if there is a way to create two different interactive components and when activating one, it activates the second one.

To give you some context: I created a CTA, and a small animation on an illustration, both work well independently while hovering, but is it possible when I hover my CTA, the animation next to it starts its animation ? (and not to have to hover each component to activate it).

Hope my explanation is clear ^^’
Many thanks in advance for your help
Sandra

Best answer by tank666

You need to create a third Component Set that will both work on hover.

In the example below, you can see that when you click on the “Add to Cart” button, a badge will appear in the navigation menu.

Figma – 2 Jul 21
View original
This topic has been closed for comments

3 replies

tank666
  • 4868 replies
  • Answer
  • July 14, 2021

You need to create a third Component Set that will both work on hover.

In the example below, you can see that when you click on the “Add to Cart” button, a badge will appear in the navigation menu.

Figma – 2 Jul 21

tank666
  • 4868 replies
  • July 14, 2021

Yes, In order for both to change when interacting with one element, they need to be one component.

If your elements (CTA + Illustration) are never used separately, then it doesn’t make sense to create a separate interactive component for each of them.


  • 0 replies
  • August 13, 2021

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


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