A full notifications screen grouped by day with filter tabs and counts, read and unread toggles, a snooze menu with a snoozed tab, dismiss with undo, inline approve, decline and reply actions, and a sidebar with a summary, do not disturb and delivery preferences.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { NotificationsCenterScreen } from "@/components/hyperblur-pro/notifications-center-screen"
<NotificationsCenterScreen onSnooze={(id, until) => console.log(id, until)} />| Prop | Type | Default | Description |
|---|---|---|---|
| accent | string | "#e255a1" | Accent color for unread dots, the active tab, switches and primary buttons. |
| notifications | NotificationItem[] | 11 sample notifications | Notifications with id, kind (mention, assigned, comment, request, system, deploy), actor, action, target, time, group (today, yesterday, week, older) and optional excerpt, unread and project. |
| defaultTab | "all" | "unread" | "mentions" | "assigned" | "system" | "snoozed" | "all" | Filter tab selected first. |
| onRead | (ids: string[]) => void | Called with the ids marked as read. | |
| onSnooze | (id: string, until: string) => void | Called when a notification is snoozed, with a readable until label. | |
| onDismiss | (id: string) => void | Called when a notification is dismissed. | |
| onRespond | (id: string, response: "approve" | "decline" | "reply", text?: string) => void | Called when a request is approved or declined, or a mention gets an inline reply. |
Source code is included in Pro and above