Variables inside a Variant component?


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?


Alas, those variables are not available for nested variant instances :frowning:,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.

1 Like

@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.

1 Like