JSFiddle - React, Tailwind, and code Playground
HTML
<svg width="100%" height="100%">
<!-- обычная линия -->
<line x1="30" y1="30" x2="300" y2="30" stroke="green" stroke-width="10" />
<!-- закруглённая линия -->
<line x1="30" y1="60" x2="300" y2="60" stroke="blue" stroke-width="10" stroke-linecap="round" />
<!-- прямоугольная линия -->
<line x1="30" y1="90" x2="300" y2="90" stroke="darkred" stroke-width="10" stroke-linecap="square" />
</svg>
<!-- пример сайта know-online.com -->