JSFiddle - React, Tailwind, and code Playground
by actuallyakash
HTML
<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<div class="form-group">
<label class="d-block">Upload </label>
<div class="custom-file">
<input id="upload" type="file" name="upload">
<!-- Changing Label Text -->
<label class="custom-file-label" for="upload">Drop it like it's hot</label>
</div>
</div>
CSS
body {
padding: 20px;
}
/* Changing button text */
.custom-file-label::after {
content: "What's up?";
}