JSFiddle - React, Tailwind, and code Playground

HTML

<script src="//code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link rel="stylesheet" href="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!doctype html>
<html>
  <head>
    <script src="https://kit.fontawesome.com/d9119a56d2.js"></script>
  </head>

  <body>

<p>

<button class='xbtn'>
    <i class="fas fa-lightbulb"></i>
    <label>Nice lightbulb!</label>
  </button>

<button class='xbtn'>
    <i class="fas fa-address-book"></i>
    <label>Adress Book</label>
  </button>

  <button class='xbtn'>
    <i class="fas fa-bell"></i>
    <label>Bell</label>
  </button>

</p>

</body>
</html>

CSS

.xbtn {
  font-size: 24px;
}

.xbtn label {
  display: none;
}
.xbtn label {
  display: block;
}