Inline SVG icons

Define once, reuse many times.

HTML · Inline SVG iconsAdvanced
<svg width="0" height="0" style="position:absolute" aria-hidden="true">
  <symbol id="i-check" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7" fill="none" stroke="currentColor" stroke-width="2"/></symbol>
</svg>

<button type="button">
  <svg width="16" height="16" aria-hidden="true"><use href="#i-check"></use></svg>
  Saved
</button>
svgsymboluseaccessibility