HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/JKs-Vs5DI-ma/amnt.svg" alt="Upload Progress" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="currentColor" aria-hidden="true"><path d="M24 27V6m-9 9 9-9 9 9" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/><rect x="5" y="34" width="38" height="9" rx="3" fill="none" stroke="currentColor" stroke-width="2"/><path d="M8 35h16v7H8a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2Z"/></svg>
CSS background-image
.upload-progress {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/JKs-Vs5DI-ma/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.upload-progress {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/JKs-Vs5DI-ma/amnt.svg") center / contain no-repeat;
}
React
import UploadProgressSvg from "./upload-progress.jsx"; // from the React tab above
<UploadProgressSvg width={48} height={48} />