HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/MR0EgCAKGF6Q/amnt.svg" alt="Self Improvement" 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"><path d="M3 21h5v-4h5v-4h5V9h3"/><circle cx="5" cy="5" r="1"/><path d="m5 7 2 3 3 1m-3-1-2 3-2 2m4-5 1 3 3 2"/><path d="m18 2 .6 1.4L20 4l-1.4.6L18 6l-.6-1.4L16 4l1.4-.6L18 2Z"/></svg>
CSS background-image
.self-improvement {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/MR0EgCAKGF6Q/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.self-improvement {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/MR0EgCAKGF6Q/amnt.svg") center / contain no-repeat;
}
React
import SelfImprovementSvg from "./self-improvement.jsx"; // from the React tab above
<SelfImprovementSvg width={48} height={48} />