Skip to content
nexubDesign System
v11.9.0

Patterns · Pages

Notifications

NotificationsPageNotificationsInbox

The full-page inbox: All and Unread tabs, notifications grouped by day, read and unread toggles, mark all as read, and Load more.

Web

Live, at a real viewport width. Switch to Phone to see the responsive layout.

Usage

TSX
import { NotificationsPage } from '@nexub/patterns';

<NotificationsPage
  notifications={items}
  now={new Date()}
  onOpen={open}
  onMarkRead={(id, read) => setRead(id, read)}
  onMarkAllRead={markAll}
  onDismiss={dismiss}
  onLoadMore={loadMore}
  hasMore={hasMore}
  settingsHref="/settings/notifications"
/>