JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<i class="fa fa-star-half" aria-hidden="true"></i>
<div></div>
CSS
div::before {
content: "\f089";
font-family: fontawesome;
}