HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/fE7zLRICr2SD/amnt.svg" alt="Certificate Frame" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="currentColor" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="4" stroke-linejoin="round" d="M12 32h176v116H12z"/><path fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" d="M20 40h160v100H20zM28 48h144v84H28z"/><path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M20 62h12V50m136 0v12h12M20 118h12v12"/><path d="m137 157-10 33 17-8 11 12 9-35zm21 2 12 35 10-12 17 8-11-34z"/><path d="m161 118 5 5 7-2 3 7 7 2-1 8 5 5-4 7 2 7-7 4-2 7-8 1-5 6-7-3-7 3-5-6-8-1-2-7-7-4 2-7-4-7 5-5-1-8 7-2 3-7 7 2 5-5z"/><circle cx="157" cy="146" r="18" fill="none" stroke="currentColor" stroke-width="2"/><path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m148 146 6 6 12-13"/></svg>
CSS background-image
.certificate-frame {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/fE7zLRICr2SD/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.certificate-frame {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/fE7zLRICr2SD/amnt.svg") center / contain no-repeat;
}
React
import CertificateFrameSvg from "./certificate-frame.jsx"; // from the React tab above
<CertificateFrameSvg width={48} height={48} />