HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/M_UD_LLHgXAZ/amnt.svg" alt="Analytics Dashboard" 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="2" width="9" height="9" rx="1"/><rect x="13" y="2" width="9" height="9" rx="1"/><rect x="2" y="13" width="9" height="9" rx="1"/><rect x="13" y="13" width="9" height="9" rx="1"/><path d="m4 8 2-2 2 1 1-2"/><path d="M16 8V6m3 2V4"/><circle cx="6.5" cy="17.5" r="2"/><path d="M6.5 15.5v2h2"/><path d="M16 16h.01M19 16h.01M16 19h.01M19 19h.01"/></svg>
CSS background-image
.analytics-dashboard {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/M_UD_LLHgXAZ/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.analytics-dashboard {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/M_UD_LLHgXAZ/amnt.svg") center / contain no-repeat;
}
React
import AnalyticsDashboardSvg from "./analytics-dashboard.jsx"; // from the React tab above
<AnalyticsDashboardSvg width={48} height={48} />