JSFiddle - React, Tailwind, and code Playground
HTML
<svg>
<path d="M50 50.5h100l50 20h50" stroke-dasharray="100 5 10 5 10 5 10 5 10 5 100"/>
</svg>
CSS
path { stroke: black; fill: none; stroke-width: 3px; }
<svg>
<path d="M50 50.5h100l50 20h50" stroke-dasharray="100 5 10 5 10 5 10 5 10 5 100"/>
</svg>
path { stroke: black; fill: none; stroke-width: 3px; }