HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/KVeNHcBO7g4f/amnt.svg" alt="Round Nightlight" 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="12" cy="8" r="3"/><path d="M12 2v1M5 8H4m16 0h-1M7 3l-.7-.7M17 3l.7-.7"/><path d="M8 14h8a1 1 0 0 1 1 1v3H7v-3a1 1 0 0 1 1-1ZM9 18v4m6-4v4"/></svg>
CSS background-image
.round-nightlight {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/KVeNHcBO7g4f/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.round-nightlight {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/KVeNHcBO7g4f/amnt.svg") center / contain no-repeat;
}
React
import RoundNightlightSvg from "./round-nightlight.jsx"; // from the React tab above
<RoundNightlightSvg width={48} height={48} />