HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/nEbA1FM1GJIr/amnt.svg" alt="Invitation Frame" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="43" y="12" width="114" height="176" rx="2"/><rect x="50" y="19" width="100" height="162" rx="2"/><path d="M72 12c7-8 16-8 28 0 12-8 21-8 28 0M72 188c7 8 16 8 28 0 12 8 21 8 28 0"/><path d="M84 19c4 5 10 5 16 0 6 5 12 5 16 0M84 181c4-5 10-5 16 0 6-5 12-5 16 0"/></svg>
CSS background-image
.invitation-frame {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/nEbA1FM1GJIr/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.invitation-frame {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/nEbA1FM1GJIr/amnt.svg") center / contain no-repeat;
}
React
import InvitationFrameSvg from "./invitation-frame.jsx"; // from the React tab above
<InvitationFrameSvg width={48} height={48} />