HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/19n5NloQvimf/amnt.svg" alt="Admin Settings" 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"><rect x="2" y="3" width="20" height="18" rx="2"/><path d="M8 7v1m0 8v1M4 12h1m6 0h1M5.2 9.2l.7.7m4.2 4.2.7.7m0-5.6-.7.7m-4.2 4.2-.7.7"/><circle cx="8" cy="12" r="3"/><path d="M17 7v3m0 4v3"/><circle cx="17" cy="12" r="2"/></svg>
CSS background-image
.admin-settings {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/19n5NloQvimf/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.admin-settings {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/19n5NloQvimf/amnt.svg") center / contain no-repeat;
}
React
import AdminSettingsSvg from "./admin-settings.jsx"; // from the React tab above
<AdminSettingsSvg width={48} height={48} />