HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/DaVKteKkY6CJ/amnt.svg" alt="Assignment Ind" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-3"/><rect x="9" y="2" width="6" height="4" rx="1"/><circle cx="12" cy="10" r="1.5"/><path d="M9 15h6M9 18h6"/></svg>
CSS background-image
.assignment-ind {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/DaVKteKkY6CJ/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.assignment-ind {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/DaVKteKkY6CJ/amnt.svg") center / contain no-repeat;
}
React
import AssignmentIndSvg from "./assignment-ind.jsx"; // from the React tab above
<AssignmentIndSvg width={48} height={48} />