Data table with actions
Status badges and a row menu.
Bootstrap · Data table with actionsIntermediate
<div class="table-responsive">
<table class="table align-middle table-hover">
<thead><tr><th scope="col">Name</th><th scope="col">Status</th><th scope="col" class="text-end">Actions</th></tr></thead>
<tbody>
<tr>
<td>Ali Khan</td>
<td><span class="badge text-bg-success">Active</span></td>
<td class="text-end">
<div class="dropdown">
<button class="btn btn-sm btn-light" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Row actions">⋮</button>
<ul class="dropdown-menu dropdown-menu-end">
<li><a class="dropdown-item" href="#">Edit</a></li>
<li><a class="dropdown-item text-danger" href="#">Delete</a></li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>tabledropdownbadgealign-middle