Skip to main content

Swap a component's image(s) with a property


zachtalogy

Like the new “Text” component property, there should be a way to override images from the design panel. This could be done by adding a “Fill” component property type. Here’s a mock component instance (proposed property on bottom):

This topic has been closed for comments

4 replies

Killian1
  • 1 reply
  • August 7, 2022

I totally agree: +1 ! ❤️


Klesus
  • 237 replies
  • August 7, 2022

Not sure how useful that would be. If I wanted to override an instance image then I’d most likely use ‘place image’ anyway. I mean with that you just click where to place it, which is at least as fast as changing something from the property panel, and is exponentially quicker the more images you change in one go.


zachtalogy
  • Author
  • 29 replies
  • August 8, 2022

Good point. However I would say it is sometimes tricky to click on the correct layer if your component is quite complex, and having it in the properties would be handy, just like with the text/content property.

Furthermore, this could surface any fill, including colors and gradients, which would be a nice way to communicate to designers which colors in your component can/should be overridden.


  • 0 replies
  • November 6, 2022

This topic was automatically closed 90 days after the last reply. 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