HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/FRninTVe2kT3/amnt.svg" alt="Fire Department" 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="M3 20V9h18v11"/><path d="M2 9h20"/><path d="M5 20v-7h6v7M13 20v-7h6v7"/><path d="M12 2c.5 1.5-1.5 2.5-1.5 4a1.5 1.5 0 0 0 3 0c0-1-.5-1.5-1.5-2"/><path d="M2 20h20"/></svg>
CSS background-image
.fire-department {
background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/FRninTVe2kT3/amnt.svg");
background-size: contain;
}
CSS mask-image (takes the text colour)
.fire-department {
width: 1.5em; height: 1.5em;
background-color: currentColor;
mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/FRninTVe2kT3/amnt.svg") center / contain no-repeat;
}
React
import FireDepartmentSvg from "./fire-department.jsx"; // from the React tab above
<FireDepartmentSvg width={48} height={48} />