NotificationCenter
The in-app notification inbox the bell in the top header opens: unread count on the bell, New and Read tabs, and a list where each card is one click target with its own action buttons. It is composition only โ the app owns the data, decides when an item counts as read, and picks what each body shows: a list, NotificationCenterSkeleton while loading, or NotificationCenterEmpty for the empty and error states.
Usage
Examples
Read tab
Read items drop the dot and show their age; the tab opens on Read here through defaultValue.
Empty
Each tab has its own empty state, built from EmptyState parts. "Mark all as read" is disabled
by the app when nothing is unread.
Loading
While the inbox loads, the body shows placeholder rows and the bell has no badge yet.
Error state
A failed load reuses NotificationCenterEmpty with a retry button. Tabs are optional: here the
body sits straight under the header.
Many items
Past 640px the list scrolls inside the body while the header and tabs stay put.
In top header
Where it lives: the bell in the shell's top header, between the AI Assistant toggle and Quick help, opening right-aligned under the button.
Controlled
Controlled open state: the app can close the inbox itself, for example after navigating.