Notification center
A notification center composed from unread and all-notification views, lists, avatars, badges, timestamps, toast actions and an all-read empty state.
Use a notification center when updates need a persistent home as well as an unread view. These examples keep the same item structure across views and provide a useful empty state when the user has caught up.
The HTML tabs show essential markup; layout wrappers, repeated content, secondary details and demo behavior are omitted.
Notification views
Separate unread work from the complete history without changing the structure of each notification. Keep the sender, event, status and timestamp together; relative times remain concise visually, while the accessible label provides the exact date and time.
Workspace updates
3 unread- Alex MorganNew commentCommented on the quarterly planning document.
- Morgan LeeInvitationInvited you to join the Design systems team.
- BillingAction neededThe payment method for your workspace expires this month.
- Alex MorganNew commentCommented on the quarterly planning document.
- Morgan LeeInvitationInvited you to join the Design systems team.
- BillingAction neededThe payment method for your workspace expires this month.
- Deployment serviceCompletedVersion 0.85.2 was deployed to production.
Essential markup
<section aria-labelledby="notification-center-heading">
<h3 id="notification-center-heading">Workspace updates</h3>
<span class="badge bg-primary">3 unread</span>
<div class="tab-container">
<div class="tabs" role="tablist" aria-label="Notification views">
<button class="tab is-active" id="notification-center-unread-tab" type="button" role="tab"
aria-selected="true" aria-controls="notification-center-unread">Unread</button>
<button class="tab" id="notification-center-all-tab" type="button" role="tab" tabindex="-1"
aria-selected="false" aria-controls="notification-center-all">All notifications</button>
</div>
<div class="tab-contents">
<div class="tab-content is-active" id="notification-center-unread" role="tabpanel" aria-labelledby="notification-center-unread-tab" tabindex="0">
<ul class="list list-flush" aria-label="Unread workspace notifications">
<li class="list-item bg-primary bg-opacity-10">
<span class="avatar avatar-sm bg-primary" aria-hidden="true">AM</span>
<span class="list-item-text">
<strong>Alex Morgan</strong>
<span class="badge badge-outline text-secondary">New comment</span>
<span>Commented on the quarterly planning document.</span>
<small><time datetime="2026-09-07T09:42:00+02:00" aria-label="September 7, 2026 at 09:42">5 minutes ago</time></small>
</span>
<button class="btn btn-text btn-primary" type="button">Mark as read</button>
</li>
<!-- Other unread items omitted. -->
</ul>
</div>
<div class="tab-content" id="notification-center-all" role="tabpanel" aria-labelledby="notification-center-all-tab" tabindex="0" hidden>
<!-- All notifications use the same list structure, including read items. -->
</div>
</div>
</div>
</section>All caught up
Replace the unread list with the Empty State when no unread items remain. Keep navigation to the complete history available instead of presenting the state as an error.
Essential markup
<section class="card shadow-sm" aria-labelledby="notification-center-empty-title">
<div class="empty-state" aria-labelledby="notification-center-empty-title" aria-describedby="notification-center-empty-description">
<!-- Decorative notification icon omitted. -->
<h3 class="empty-state-title" id="notification-center-empty-title">You are all caught up</h3>
<p class="empty-state-description" id="notification-center-empty-description">There are no unread workspace notifications.</p>
<div class="empty-state-actions">
<a class="btn btn-solid btn-primary" href="/examples/notification-center/">View all notifications</a>
<button class="btn btn-outline btn-secondary" type="button">Notification settings</button>
</div>
</div>
</section>Built with
- Tabs for unread and complete notification views.
- List and Card for consistent notification rows and the surrounding surface.
- Avatar and Badge for senders and explicit notification status.
- Empty state for an unread view with no remaining work.
- Button, Flex and Spacings for notification actions and wrapping metadata.