<ul class="list-unstyled">
<li class="d-inline-flex gap-2 align-items-center my-2">
<span class="bg-light badge rounded-pill border selected-item">
<span class="selected-item-label">
Pill Label
</span>
<button type="button" class="btn-close" aria-label="Remove XXXXXX"></button>
</span>
</li>
</ul>