Is it possible to set this kind of animation in Figma?
I built a grid with 10 images and all I want is to set a hover effect on each one of them.
The animation goes from black & white image into colorful.
At the moment it only work for the whole frame / grid, but that’s not what I’m looking for.
Hi @Slawek_Buczyniak yes it is possible.
Firstly your image (or the card that contains it) needs to be a component so it can have a hover variant. After that is done, then hold Cmd/Ctrl and click on your image, on the right side of the screen in Fill section, click on Image and you can see its option pop open. Drag the Saturation slider all the way to the left.
Now make a hover variant and set its saturation to normal.
Has anyone figured this out yet? I can make it for one pic (with a component set) but it does not work as a component with which I want to change the image when using it… It would be great if someone can help.
The work around would be to create a component with two variants (Default and Hover)
each one containing a different image and each time you use an instance you would replace the two images (saturated and desaturated).
But you can only change both pics directly through the component, right? So the change affects every instance… And that’s the problem here. I can’t change the two images through the instance itself and because I can’t, figma only changes the hover to the pic set in the variant for the hover.