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
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"
/>On iOS & Android: NotificationsInbox
@nexub/react-native/patternsAlpha
import { NotificationsInbox } from '@nexub/react-native/patterns';
<NotificationsInbox notifications={items} onPress={open} onMarkAllRead={markAll} />Web vs mobile
Same tokens and prop names. Where the platforms differ:
| Web | iOS & Android | |
|---|---|---|
| Grouping | Grouped by day, with All and Unread tabs. | One list, newest first. |
| Read state | A toggle per row (onMarkRead) and "Mark all as read". | "Mark all read" only. |
| Paging | A "Load more" button. | The list scrolls; page in your data layer. |
Interactive preview of @nexub/react-native rendered for the web. Native chrome (switches, pickers, Liquid Glass) looks like the platform on a device.
On device

iPhone (iOS simulator)

Pixel (Android emulator)
Screenshots from the latest CI run of the showcase app; the live frame renders the same code for the web.
NotificationsInbox props
| Prop | Type | Default | Description |
|---|---|---|---|
| notificationsrequired | NotificationEntry[] | — | — |
| onPress | (n: NotificationEntry) => void | — | — |
| onMarkAllRead | () => void | — | — |