Notifications Panel
A notifications dropdown panel with icon badges and timestamps.
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="card border-0 shadow" style="max-width:300px">
<div class="card-header bg-white fw-bold small d-flex justify-content-between">Notifications <a href="#" class="text-decoration-none">Mark all</a></div>
<div class="list-group list-group-flush">
<a href="#" class="list-group-item list-group-item-action d-flex gap-2 py-2"><span class="badge text-bg-primary rounded-circle">✉</span><div class="small"><div>New message from Ava</div><div class="text-secondary" style="font-size:.7rem">5 min ago</div></div></a>
<a href="#" class="list-group-item list-group-item-action d-flex gap-2 py-2"><span class="badge text-bg-success rounded-circle">$</span><div class="small"><div>Payment received</div><div class="text-secondary" style="font-size:.7rem">1 hr ago</div></div></a>
</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.