Admin Top Bar
A dashboard top bar with menu toggle, search, notifications and avatar.
Requires Bootstrap 5. Add the CDN tags below to your page (styles in
<head>, scripts before </body>). The downloaded file already includes them.<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script><div class="d-flex align-items-center justify-content-between bg-white shadow-sm rounded-3 px-3 py-2" style="width:480px">
<div class="d-flex align-items-center gap-2"><button class="btn btn-sm btn-light">☰</button><b>Dashboard</b></div>
<div class="d-flex align-items-center gap-2">
<input class="form-control form-control-sm" placeholder="Search…" style="width:130px">
<button class="btn btn-sm btn-light position-relative">🔔<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill text-bg-danger" style="font-size:.6rem">3</span></button>
<div class="rounded-circle d-grid text-white" style="width:32px;height:32px;place-items:center;font-size:.8rem;background:#5b6cff">JS</div>
</div>
</div>Free to use.This component uses Bootstrap 5 (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.