JSFiddle - React, Tailwind, and code Playground

HTML

<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
  <g id="mycross">
     <circle fill="none" stroke="black" stroke-width="2" cx="101.874999" cy="101.000003" r="97.070312" id="svg_2" />
      <path id="mypath" d="M50,100L90,100L150,100" stroke="black" stroke-width="2" fill="none"/>
      <path id="vertline" d="M100,50L100,150" stroke="black" stroke-width="2"/>

      <animate xlink:href="#mypath" attributeName="d" from="M50,100L100,100L150,100" to="M50,100L100,150L150,100" dur="2s" begin="mycross.click" fill="freeze" />
      
  </g>
</svg>
Click the cross