JSFiddle - React, Tailwind, and code Playground
HTML
<span class="underline"><span class="title_span">title of something</span></span>
CSS
.title_span {
font-weight: bold;
text-decoration: underline;
color: grey;
}
.underline {
padding-bottom: 2px;
border-bottom: grey 1px solid;
}