HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/NdNfnyppjRbD/amnt.svg" alt="Buffering Circle" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="currentColor" aria-hidden="true"><rect x="22" y="3" width="4" height="10" rx="1"/><rect x="22" y="3" width="4" height="10" rx="1" transform="rotate(45 24 24)"/><rect x="22" y="3" width="4" height="10" rx="1" transform="rotate(90 24 24)"/><rect x="22" y="3" width="4" height="10" rx="1" transform="rotate(135 24 24)"/><rect x="22" y="3" width="4" height="10" rx="1" transform="rotate(180 24 24)"/><rect x="22" y="3" width="4" height="10" rx="1" transform="rotate(225 24 24)"/><rect x="22" y="3" width="4" height="10" rx="1" transform="rotate(270 24 24)"/></svg>
CSS background-image
.buffering-circle {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/NdNfnyppjRbD/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.buffering-circle {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/NdNfnyppjRbD/amnt.svg") center / contain no-repeat;
}
React
import BufferingCircleSvg from "./buffering-circle.jsx"; // from the React tab above
<BufferingCircleSvg width={48} height={48} />