<font-awesome-icon icon="fa-solid fa-alt" />
<FontAwesomeIcon icon="fa-solid fa-alt" />
.my-icon::before {
font: var(--fa-font-solid);
content: "\e08a";
}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" style="width: 30px;height: 30px;fill: black">
<path d="M416 416c0 17.69 14.31 32 32 32h160c17.69 0 32-14.31 32-32s-14.31-32-32-32h-160C430.3 384 416 398.3 416 416zM640 96c0-17.69-14.31-32-32-32h-160c-9.719 0-18.91 4.406-25 12L176.6 384H32c-17.69 0-32 14.31-32 32s14.31 32 32 32h160c9.719 0 18.91-4.406 25-12L463.4 128H608C625.7 128 640 113.7 640 96z"/>
</svg>
<i class="fa-solid fa-alt"></i>