Image
image HTML tag
Overview
Uncodie uses background-url CSS property to render images in your Figma file, to display an actual img element in your project you need to use the image component and set the src attribute.
Setup
Select the layer or element you want to render as an img in Figma
In the plugin navigate to the Component section
Set the type to img
Optionally set the attributes of the component
Compile and publish your project
Usage
Select this component to render a img element in your HTML DOM.
Rendered Element
Last updated
Was this helpful?