JSFiddle - React, Tailwind, and code Playground
HTML
<p>first line of test text which is long enough to stretch onto a second line .</p>
CSS
p{position:relative; display:inline}
p:after{position:absolute; left:0; bottom:0; width:100%; height:1px; border-bottom:1px solid #000; content:""}