HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/20uD77BSS22O/amnt.svg" alt="Scroll 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="M58 29h284v62H58z"/><path d="M58 34C43 27 26 31 17 42 7 54 9 73 20 83c10 10 27 11 36 2 8-8 7-21-1-27-7-5-17-3-20 4-3 6 1 12 7 12M342 34c15-7 32-3 41 8 10 12 8 31-3 41-10 10-27 11-36 2-8-8-7-21 1-27 7-5 17-3 20 4 3 6-1 12-7 12" fill="none" stroke="currentColor" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/></svg>
CSS background-image
.scroll-banner {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/20uD77BSS22O/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.scroll-banner {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/20uD77BSS22O/amnt.svg") center / contain no-repeat;
}
React
import ScrollBannerSvg from "./scroll-banner.jsx"; // from the React tab above
<ScrollBannerSvg width={48} height={48} />