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

6 replies

tank666
  • 4857 replies
  • May 28, 2021

T238235
  • Author
  • 1 reply
  • June 2, 2021

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
  • 4706 replies
  • Answer
  • 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
  • 20 replies
  • 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
  • 4706 replies
  • October 30, 2021

Gleb
  • Power Member
  • 4706 replies
  • 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