HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/C8Hpe8mZNe57/amnt.svg" alt="Record Voice Over" 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="M5 21v-3a7 7 0 1 1 9-10l1 3 2 2-3 1v2a2 2 0 0 1-2 2H9v3"/><path d="M17 8c1.2 1 1.2 3 0 4"/><path d="M20 5c2.7 2.5 2.7 7 0 9"/></svg>
CSS background-image
.record-voice-over {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/C8Hpe8mZNe57/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.record-voice-over {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/C8Hpe8mZNe57/amnt.svg") center / contain no-repeat;
}
React
import RecordVoiceOverSvg from "./record-voice-over.jsx"; // from the React tab above
<RecordVoiceOverSvg width={48} height={48} />