For AI agents: the complete documentation index is available at https://wallarm.github.io/design-system/llms.txt, the full documentation bundle is available at https://wallarm.github.io/design-system/llms-full.txt, and this page is available as Markdown at https://wallarm.github.io/design-system/components/notification-center.md.

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.

Source ยท Storybook

Usage

import { Button } from '@wallarm-org/design-system/Button';
import { Settings } from '@wallarm-org/design-system/icons';
import { NotificationCenter, NotificationCenterBody, NotificationCenterContent, NotificationCenterHeader, NotificationCenterHeaderAction, NotificationCenterHeaderActions, NotificationCenterTitle, NotificationCenterItem, NotificationCenterItemActions, NotificationCenterItemDescription, NotificationCenterList, NotificationCenterItemTime, NotificationCenterItemTitle, NotificationCenterTabs, NotificationCenterTabsList, NotificationCenterTrigger } from '@wallarm-org/design-system/NotificationCenter';
import { NumericBadge } from '@wallarm-org/design-system/NumericBadge';
import { TabsContent, TabsTrigger } from '@wallarm-org/design-system/Tabs';

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.

Props

PropTypeDefaultDescription
openboolean | undefinedControlled open state. Omit for uncontrolled.
onOpenChange((open: boolean) => void) | undefined
positioningPositioningOptions | undefinedPOSITIONING_DEFAULTDefault: right-aligned under the bell with a 4px gap.
data-testidstring | undefined

NotificationCenterBody

PropTypeDefaultDescription
titlestring | undefined
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
asChildboolean | undefinedUse the provided child element as the default rendered element, combining their props and behavior.
data-testidstring | undefined
idsElementIds | undefinedThe ids of the scroll area elements

NotificationCenterEmpty

PropTypeDefaultDescription
titlestring | undefined
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterSkeleton

PropTypeDefaultDescription
rowsnumber | undefined4Number of placeholder rows.
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterContent

PropTypeDefaultDescription
titlestring | undefined
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
tabIndexnumber | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterHeaderAction

PropTypeDefaultDescription
titlestring | undefined
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
type"button" | "submit" | "reset" | undefined
disabledboolean | undefined
namestring | undefined
valuestring | number | readonly string[] | undefined
asChildboolean | undefined
data-testidstring | undefined
loading{ true: string; }
asC | undefined
fullWidth{ true: string; false: string; }

NotificationCenterHeaderActions

PropTypeDefaultDescription
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterHeader

PropTypeDefaultDescription
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterTitle

PropTypeDefaultDescription
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterItemActions

PropTypeDefaultDescription
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterItemDescription

PropTypeDefaultDescription
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterItem

PropTypeDefaultDescription
unreadboolean | undefinedfalseShows the unread dot and prefixes the title's accessible name with "Unread".
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterList

PropTypeDefaultDescription
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterItemTime

PropTypeDefaultDescription
value *string | number | DateISO string, Date or Unix timestamp (ms).
titlestring | undefined
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterItemTitle

PropTypeDefaultDescription
asChildboolean | undefinedfalseRender your own element, e.g. a router link or <a href>.
closeOnClickboolean | undefinedtrueClose the popover after onClick. Call event.preventDefault() to keep it open once.
disabledboolean | undefined
namestring | undefined
type"button" | "submit" | "reset" | undefined
valuestring | number | readonly string[] | undefined
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
titlestring | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
data-testidstring | undefined

NotificationCenterTabs

PropTypeDefaultDescription
defaultValuestring | undefined
onChange((value: string) => void) | undefined
valuestring | undefined
data-testidstring | undefined
lazyMountboolean | undefined
unmountOnExitboolean | undefined

NotificationCenterTrigger

PropTypeDefaultDescription
countnumber | undefined0Unread count. 0 hides the badge; above 99 the badge shows 99+.
labelstring | undefinedNotificationsTooltip text and the base of the accessible name.
titlestring | undefined
defaultCheckedboolean | undefined
defaultValuestring | number | readonly string[] | undefined
autoFocusboolean | undefined
idstring | undefined
tabIndexnumber | undefined
relstring | undefined
onChangeChangeEventHandler<T, Element> | undefined
type"button" | "submit" | "reset" | undefined
disabledboolean | undefined
namestring | undefined
valuestring | number | readonly string[] | undefined
data-testidstring | undefined

Explorer