HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Tdhxn7_DfkwU/amnt.svg" alt="Profile Frame" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M100 8a92 92 0 1 0 0 184 92 92 0 0 0 0-184Zm0 12a80 80 0 1 1 0 160 80 80 0 0 1 0-160Z"/><circle cx="100" cy="77" r="27"/><path d="M44 151c2-27 24-45 56-45s54 18 56 45a67 67 0 0 1-112 0Z"/></svg>
CSS background-image
.profile-frame {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Tdhxn7_DfkwU/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.profile-frame {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Tdhxn7_DfkwU/amnt.svg") center / contain no-repeat;
}
React
import ProfileFrameSvg from "./profile-frame.jsx"; // from the React tab above
<ProfileFrameSvg width={48} height={48} />