JSFiddle - React, Tailwind, and code Playground
by Prajeesh_PR
HTML
<div class="container mt-3">
<h3>Input Groups with Dropdown Button</h3>
<p>Add a dropdown button in the input group. Note that you don't need the .dropdown wrapper, as you normally would.</p>
<form>
<div class="input-group mt-3 mb-3">
<div class="input-group-prepend">
<button type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown">
Dropdown button
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Link 1</a>
<a class="dropdown-item" href="#">Link 2</a>
<a class="dropdown-item" href="#">Link 3</a>
</div>
</div>
<input type="text" class="form-control" placeholder="Username">
</div>
</form>
</div>