HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/R7vlehNlSFly/amnt.svg" alt="Download Button" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 80" preserveAspectRatio="none" fill="currentColor"><path fill-rule="evenodd" d="M22 5h196a18 18 0 0 1 18 18v34a18 18 0 0 1-18 18H22A18 18 0 0 1 4 57V23A18 18 0 0 1 22 5Zm95 15h6v22l9-9 4 4-16 16-16-16 4-4 9 9V20Zm-15 35h36v5h-36v-5Z"/></svg>
CSS background-image
.download-button {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/R7vlehNlSFly/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.download-button {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/R7vlehNlSFly/amnt.svg") center / contain no-repeat;
}
React
import DownloadButtonSvg from "./download-button.jsx"; // from the React tab above
<DownloadButtonSvg width={48} height={48} />