HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/GFi_sdJeprwc/amnt.svg" alt="Dashed Line" 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="grape" data-name="Grape"><path d="M540 501h-57v19h56c3-6 3-13 1-19z" fill="#0d266a" stroke="#0d266a"/><path d="M853 501c-2 7-3 12 0 19h56v-19z" fill="#0d266a" stroke="#0d266a"/><path d="M115 501v19h57v-19z" fill="#0d266a" stroke="#0d266a"/><path d="M760 501v19h57v-19z" fill="#0d266a" stroke="#0d266a"/><path d="M264 501h-57v19h57z" fill="#0d266a" stroke="#0d266a"/><path d="M392 501v19h57v-19z" fill="#0d266a" stroke="#0d266a"/><path d="M632 501h-57v19h57z" fill="#0d266a" stroke="#0d266a"/><path d="M669 501c-1 6-3 12-1 19h56v-19z" fill="#0d266a" stroke="#0d266a"/><path d="M300 501v19h56v-19z" fill="#0d266a" stroke="#0d266a"/></g></svg>
CSS background-image
.dashed-line {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/GFi_sdJeprwc/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.dashed-line {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/GFi_sdJeprwc/amnt.svg") center / contain no-repeat;
}
React
import DashedLineSvg from "./dashed-line.jsx"; // from the React tab above
<DashedLineSvg width={48} height={48} />