Skip to main content
Solved

How do I prototype a nested link in a variant component?

  • December 7, 2021
  • 3 replies
  • 1382 views

JJG

Hi!

I have a component which is a category tile. Once you hover over it, it changes the state to a variant which has a description and a link.

I drag like 6 instances of this component to the frame and want to have the link in the hover variant point to different pages. I’m just stumped on how to do that. I guess the same goes for the image of the hover variant. I don’t know how to change that for each instance.

Any help is appreciated 🙂

Best answer by Michael_Riddering

Not a great way to do this @JJG (just saw your comment in the prototyping module).

I did experiment a bit with this and what it would look like to abstract the changes into two components (“Card” and “CardContent”). Maybe it sparks some ideas of your own — Figma

View original
This topic has been closed for comments

3 replies

Michael_Riddering

Not a great way to do this @JJG (just saw your comment in the prototyping module).

I did experiment a bit with this and what it would look like to abstract the changes into two components (“Card” and “CardContent”). Maybe it sparks some ideas of your own — Figma


JJG
  • Author
  • 2 replies
  • December 31, 2021

Thank you so much for this @Michael_Riddering ! I was afraid there wasn’t an easy solution to this, but the idea of the CardContent component is definitely interesting! Will try this out 😃


  • 0 replies
  • January 30, 2022

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