Skip to main content

Hey,


I am having an issue. I am using the string variable to change an image upon hover.

This works, however when I make this into a component variant I lose the ability to attach my string variant to the image inside the component.


When I detach the component i have the ability again.

Any idea’s on how to solve this?


Thanks

Alas, those variables are not available for nested variant instances 😦



https://help.figma.com/hc/en-us/articles/14506587589399-Use-variables-in-prototypes#:~:text=In%20Figma%2C%20variables%20are%20stored,color%2C%20or%20boolean%20value%20types.


Oh I must have missed that note, my bad. Thanks for sharing!


No worries, it is far down on the page, so very easy to miss.


@Evert_Martin Looks like this has been fixed!


// Nested instances

Now, string variables can be bound to a nested instance’s variant properties, rather than only parent instances.


Reply