JSFiddle - React, Tailwind, and code Playground
HTML
<svg>
<line x1=10 y1=10 x2=350 y2=10 stroke="skyblue" stroke-width=10 stroke-dasharray="20,5"></line>
<line x1=10 y1=70 x2=350 y2=70 stroke="pink" stroke-width=10 stroke-dasharray="30,10,7,3"></line>
</svg>