Skip to main content
vkialka
January 24, 2023
Question

Override images in interactive components/variants with zoom effect on hover

  • January 24, 2023
  • 30 replies
  • 10112 views

Trying to override images so that the image zooms in on hover, but all it does is show the original image from the hover variant. Any ideas? Tks!!

This topic has been closed for replies.

30 replies

yanir_shukrun
May 4, 2023

try use in the main component blank image place holder.
for example https://www.figma.com/file/7iVbMK4ErjDHZg6kMBewcR/fix-image-issue?t=lDe4lRrXnEjGniq0-1

November 29, 2023

Can we achieve this without making two components?

tank666
November 29, 2023

You cannot create an interactive component with only one component because it requires at least two components (variants) in the component set.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
tank666
November 30, 2023
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
November 30, 2023

Yes, it is coming from product-tile but the product tile, is created for the master product tile and in that master card there is no variant. Under the image folder, there is a hover and hero image section and I am not sure how this thing changes the image.

November 30, 2023

I am putting the master component for your reference in that file as well.

tank666
November 30, 2023

Please go to the “Product-Tile” component set rather than “.main/Product-tile” component and study the interactions between variants.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
November 30, 2023

Actually, .main/product-tile is the product tile I just renamed that and there is no variant

November 30, 2023

if you see under the image there is a hover and hero section once we hover the image, the hover image comes in the second option. You can also change the image and you can see the results.