HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/IGML3Lp1WehP/amnt.svg" alt="Pennant Banner" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 120" preserveAspectRatio="none" fill="currentColor"><path d="M15 25 Q200 55 385 25" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/><path d="M35 29 Q64 34 93 38 L59 105 Z"/><path d="M103 39 Q132 43 161 45 L129 112 Z"/><path d="M171 46 Q200 47 229 46 L200 115 Z"/><path d="M239 45 Q268 43 297 39 L271 112 Z"/><path d="M307 38 Q336 34 365 29 L341 105 Z"/></svg>
CSS background-image
.pennant-banner {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/IGML3Lp1WehP/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.pennant-banner {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/IGML3Lp1WehP/amnt.svg") center / contain no-repeat;
}
React
import PennantBannerSvg from "./pennant-banner.jsx"; // from the React tab above
<PennantBannerSvg width={48} height={48} />