HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/FLDrS8JsoVsO/amnt.svg" alt="Directions Run" 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="16" cy="4" r="1.5"/><path d="m13 8-3 4 4 2 3 4-3 3"/><path d="m10 12-3 5-4 1"/><path d="m13 8 4 3 3-2"/><path d="m13 8-4-1-2 3"/></svg>
CSS background-image
.directions-run {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/FLDrS8JsoVsO/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.directions-run {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/FLDrS8JsoVsO/amnt.svg") center / contain no-repeat;
}
React
import DirectionsRunSvg from "./directions-run.jsx"; // from the React tab above
<DirectionsRunSvg width={48} height={48} />