JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<form class="col-md-6">
<div class="form-group">
<label for="input1" class="col-sm-2">
<span class="h6 small bg-white text-muted pt-1 pl-2 pr-2">Username</span></label>
<input type="text" class="form-control mt-n3" id="input1" value="boern">
</div>
</form>
CSS
body {
margin: 20px;
}