
Notification Center
Notifications
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/notification-settingsThe notification preferences panel: event sections down the side, in-app, email, mobile and Slack across the top, a checkbox per cell. Column headers toggle a channel (mixed when partly on), required cells lock with a reason, unavailable ones show a dash. Email cadence, quiet hours and a Pause all menu sit alongside, and changes autosave with Saving… / Saved.
Other props pass through to the root element.
channels
NotificationChannel[]
Default DEFAULT_CHANNELS
sections
NotificationSection[]
Default DEFAULT_SECTIONS
value
NotificationSettingsValue
defaultValue
NotificationSettingsValue
Default DEFAULT_NOTIFICATION_SETTINGS
onValueChange
(value: NotificationSettingsValue) => void
onSave
(value: NotificationSettingsValue) => Promise<void> | void
Persist a change. While it runs the header says "Saving…", then "Saved".
saveDelay
number
Default 600
Delay before onSave runs after the last change, in ms.
title
React.ReactNode
Default "Notifications"
description
React.ReactNode
Default "Choose what reaches you, and where."
| Prop | Type | Default | Description |
|---|---|---|---|
| channels | NotificationChannel[] | DEFAULT_CHANNELS | |
| sections | NotificationSection[] | DEFAULT_SECTIONS | |
| value | NotificationSettingsValue | – | |
| defaultValue | NotificationSettingsValue | DEFAULT_NOTIFICATION_SETTINGS | |
| onValueChange | (value: NotificationSettingsValue) => void | – | |
| onSave | (value: NotificationSettingsValue) => Promise<void> | void | – | Persist a change. While it runs the header says "Saving…", then "Saved". |
| saveDelay | number | 600 | Delay before onSave runs after the last change, in ms. |
| title | React.ReactNode | "Notifications" | |
| description | React.ReactNode | "Choose what reaches you, and where." |

Notifications

Notifications

Tables

Forms