bootstrap 5 add spinner in button code example
Example 1: bootstrap 5 spinner
<div class="spinner-border" role="status">
<span class="visually-hidden">Loading...</span>
</div>
Example 2: bootstrap 5 spinner
<div class="spinner-grow" role="status">
<span class="visually-hidden">Loading...</span>
</div>