HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/AZoanpCteJdg/amnt.svg" alt="Contact Phone" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="8" cy="8" r="3"/><path d="M2 20v-2a5 5 0 0 1 5-5h2a5 5 0 0 1 5 5v2"/><path d="M17 5c0 5 3 8 5 8l1-2-2-2-1 1c-1.3-.7-2.3-1.7-3-3l1-1-2-2-2 1z"/></svg>
CSS background-image
.contact-phone {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/AZoanpCteJdg/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.contact-phone {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/AZoanpCteJdg/amnt.svg") center / contain no-repeat;
}
React
import ContactPhoneSvg from "./contact-phone.jsx"; // from the React tab above
<ContactPhoneSvg width={48} height={48} />