Multiple hover states
Hi
I'd like to have the possibility to have multiple hover states for a component.
I have 3-4 states of a component but only 1 of them can have a hover state now. I would not like to make 3-4 different components just to have a hover for each of them. If I have 10, (and I do) that's already 30-40 components in total, just to have hovers.
I was trying to attach an image here, but I don't see if I have actually succeeded or not...
On the picture I was going to show, that each state could have it's own hover, simply by listing them below the actual state.
BR,
N
You can already do this! You’ll just need to manually wire your second state instead of using the hover preset. Select the state you want to wire, click on the + in the Prototype Mode property inspector section, and create a Hover action for that state with the destination to another state. I’ve attached a document with a single component inside which has 4 states. You can click between them to switch between state 1 and state 3, and each one of these has a hover state defined. Hope that helps!
-
Nándor János Danyi commented
Picture attached