HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/OoTm-TtNDbqs/amnt.svg" alt="Manage Accounts" 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="7" r="3"/><path d="M2 19c0-3 2.7-5 6-5 1.6 0 3 .5 4 1.4"/><circle cx="18" cy="17" r="2"/><path d="M18 13v2m0 4v2m-4-4h2m4 0h2m-6.8-2.8 1.4 1.4m2.8 2.8 1.4 1.4m0-5.6-1.4 1.4m-2.8 2.8-1.4 1.4"/></svg>
CSS background-image
.manage-accounts {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/OoTm-TtNDbqs/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.manage-accounts {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/OoTm-TtNDbqs/amnt.svg") center / contain no-repeat;
}
React
import ManageAccountsSvg from "./manage-accounts.jsx"; // from the React tab above
<ManageAccountsSvg width={48} height={48} />