HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/qpYsJD8p9S6A/amnt.svg" alt="Rotating Arrows" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="currentColor" aria-hidden="true"><path d="M39.4 20.5a15.7 15.7 0 0 0-27.2-7.8l-3.1-3.1v9.9H19l-3.9-3.9a11.7 11.7 0 0 1 20.4 5.7 2 2 0 1 0 3.9-.8Z"/><path d="M8.6 27.5a15.7 15.7 0 0 0 27.2 7.8l3.1 3.1v-9.9H29l3.9 3.9a11.7 11.7 0 0 1-20.4-5.7 2 2 0 1 0-3.9.8Z"/></svg>
CSS background-image
.rotating-arrows {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/qpYsJD8p9S6A/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.rotating-arrows {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/qpYsJD8p9S6A/amnt.svg") center / contain no-repeat;
}
React
import RotatingArrowsSvg from "./rotating-arrows.jsx"; // from the React tab above
<RotatingArrowsSvg width={48} height={48} />