How to use a component prop as the background image?

Hi, is there a way to pass the value of a property to a component and use it as a Background image. Currently the only solution I have is to implement my own code components. Is there another simpler solution? Thanks.

I am pretty sure this is a current limitation unless something has changed recently

@shiny_peacock is right, there is no first class UI for this currently, but you can hack around it by specifying a dynamic value on the style attribute of an element

@yang and how do you add a dynamic value on a style attribute. I tried to Right-Click on a style attr, all I get are Mixins.

In the HTML attributes section, you should be able to add the style attribute. Right click on that, and set a dynamic value that is some json blob such as {background: ‘red’}