Skip to main content
Solved

Replacing an image within a component


T238235

Hi,

Is there a way to replace an image within an instance of a component? I have a master component of a modal window with a placeholder for an image, but I’m not sure how to replace that placeholder with the image I want. Pasting or dragging the new image in the layers panel doesn’t work.

Best answer by Gleb

In this case you shouldn’t use images (since the object isn’t even an image). Use components: Figma Tutorial: Components - Swapping and States - YouTube

View original
This topic has been closed for comments

tank666

T238235

Thanks, the image I’m trying replace is actually an icon created in Figma, so technically it’s a group of shapes. Is there a different way to do this?


Gleb
  • Power Member
  • June 3, 2021

In this case you shouldn’t use images (since the object isn’t even an image). Use components: Figma Tutorial: Components - Swapping and States - YouTube


jessie1
  • Active Member
  • October 7, 2021

I have some screenshots/images in my file, and I now want to use them in a component. As far as I see the only way to change the image within an instance is to upload from your computer? So I have to manually export the images that are already in the Figma file only to upload them again? 🤔


Gleb
  • Power Member
  • October 30, 2021

Gleb
  • Power Member
  • October 31, 2021

This topic was automatically closed after 44 hours. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings