JSFiddle - React, Tailwind, and code Playground
HTML
<svg viewBox="0 0 202 197"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<defs>
<linearGradient id="myG" fy="0" gradientTransform="rotate(60 .5 .5)">
<stop offset="0" stop-color="#f15361">
</stop>
<stop offset=".25" stop-color="#fbaf4a">
<animate attributeName="offset" dur="5s" values="0;1;0"
repeatCount="indefinite" />
</stop>
<stop offset="1" stop-color="#f15361"/>
</linearGradient>
</defs>
<rect x="0" y="0" width="50%" height="50%" fill="url(#myG)"/>