Close button icon svg Code – path tag values

Close icon x – svg code html. Close button svg path value. Close button svg code for web apps, website HTML. The close icon is necessary for creating close buttons for dialog boxes, HTML modals etc.

SVG code of close icon

<svg
   xmlns="http://www.w3.org/2000/svg"
   className="h-6 w-6"
   fill="none"
   viewBox="0 0 24 24"
   stroke="currentColor"
   >
   <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>

About the Author: smartcoder

You might like

Leave a Reply

Your email address will not be published. Required fields are marked *