HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Fv-BXASnnFyw/amnt.svg" alt="Share Button" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024"><g id="violet" data-name="Violet"><path d="M243 306c-26 2-52 11-75 24-134 74-137 270-5 348 19 11 41 20 64 24 29 5 60 3 91 3 46 0 94 0 141 0 70 0 141 0 212 0 36 0 73 3 109-1 190-19 245-275 82-371-22-13-47-22-73-26-24-3-50-1-74-1-50 0-100 0-149 0-73 0-145 0-217 0-35 0-71-3-106 0zM567 437l-113 59c1 9 2 17 1 27l111 56c8-13 22-20 36-22 76-10 82 109 6 107-25-1-48-20-52-45 0-4 1-11-1-15s-15-8-19-10c-32-16-63-32-95-47-32 32-92 14-93-35s56-71 92-40l116-60c0-70 81-82 103-29 24 57-46 101-92 54z" fill="#013fd9" stroke="#013fd9"/></g><g id="navy" data-name="Navy"><path d="M245 286c-200 12-273 281-108 399 55 39 102 39 167 39 44 0 87 1 132 1 37 0 75-1 112-1 74 1 150 4 224 0 204-10 283-274 120-395-60-45-115-43-186-43-39 0-78 0-116 0-77 0-153 0-229 0-39 0-78-2-116 0zm-2 20c35-3 71 0 106 0 72 0 144 0 217 0 49 0 99 0 149 0 24 0 50-2 74 1 26 4 51 13 73 26 163 96 108 352-82 371-36 4-73 1-109 1-71 0-142 0-212 0-47 0-95 0-141 0-31 0-62 2-91-3-23-4-45-13-64-24-132-78-129-274 5-348 23-13 49-22 75-24z" fill="#020d3d" stroke="#020d3d"/></g><g id="white" data-name="White"><path d="M567 437c46 47 116 3 92-54-22-53-103-41-103 29l-116 60c-36-31-93-9-92 40s61 67 93 35c32 15 63 31 95 47 4 2 17 6 19 10s1 11 1 15c4 25 27 44 52 45 76 2 70-117-6-107-14 2-28 9-36 22l-111-56c1-10 0-18-1-27z" fill="#fcfcfc" stroke="#fcfcfc"/></g></svg>
CSS background-image
.share-button {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Fv-BXASnnFyw/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.share-button {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/Fv-BXASnnFyw/amnt.svg") center / contain no-repeat;
}
React
import ShareButtonSvg from "./share-button.jsx"; // from the React tab above
<ShareButtonSvg width={48} height={48} />