JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" name="userName" onclick="$('#userNameLabel').css('display','none');">
<label id="userNameLabel" for="userName">Username</label>
</input>
JavaScript
$('#userNameLabel').on('mouseenter', function() {
$(this).css('display','none');
});