> 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.

# 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](https://github.com/wallarm/design-system/tree/main/packages/design-system/src/components/NotificationCenter) · [Storybook](https://wallarm.github.io/design-system/storybook/?path=/docs/messaging-notificationcenter--overview)

```tsx
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';

export const Basic = () => (
  <div className='flex h-[720px] justify-end'>
    <NotificationCenter data-testid='notification-center'>
      <NotificationCenterTrigger count={5} data-analytics-id='notifications-open' />
      <NotificationCenterContent>
        <NotificationCenterHeader>
          <NotificationCenterTitle />
          <NotificationCenterHeaderActions>
            <NotificationCenterHeaderAction data-analytics-id='notifications-mark-all-read'>
              Mark all as read
            </NotificationCenterHeaderAction>
            <NotificationCenterHeaderAction asChild aria-label='Notification settings'>
              <a href='#notification-settings'>
                <Settings />
              </a>
            </NotificationCenterHeaderAction>
          </NotificationCenterHeaderActions>
        </NotificationCenterHeader>
        <NotificationCenterTabs defaultValue='new'>
          <NotificationCenterTabsList>
            <TabsTrigger value='new'>
              New <NumericBadge size='small'>5</NumericBadge>
            </TabsTrigger>
            <TabsTrigger value='read'>Read</TabsTrigger>
          </NotificationCenterTabsList>
          <TabsContent value='new'>
            <NotificationCenterBody>
              <NotificationCenterList>
                <NotificationCenterItem unread data-testid='notification-center--item-patch'>
                  <NotificationCenterItemTitle data-analytics-id='notification-open'>
                    Apply a virtual patch to api.example.com?
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(3)} />
                  <NotificationCenterItemDescription>
                    Wally drafted a patch for the SQL injection on POST /v1/orders. It blocks the
                    payload without touching the code.
                  </NotificationCenterItemDescription>
                  <NotificationCenterItemActions>
                    <Button size='small' data-analytics-id='notification-patch-approve'>
                      Approve
                    </Button>
                    <Button
                      size='small'
                      variant='outline'
                      color='neutral'
                      data-analytics-id='notification-patch-reject'
                    >
                      Reject
                    </Button>
                  </NotificationCenterItemActions>
                </NotificationCenterItem>
                <NotificationCenterItem unread>
                  <NotificationCenterItemTitle data-analytics-id='notification-open'>
                    New attack detected on api.example.com
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(9)} />
                  <NotificationCenterItemDescription>
                    214 SQL injection attempts from 12 IPs in the last 10 minutes.
                  </NotificationCenterItemDescription>
                  <NotificationCenterItemActions>
                    <Button size='small' data-analytics-id='notification-view-attacks'>
                      View attacks
                    </Button>
                  </NotificationCenterItemActions>
                </NotificationCenterItem>
                <NotificationCenterItem unread>
                  <NotificationCenterItemTitle data-analytics-id='notification-open'>
                    Node wallarm-node-3 is offline
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(22)} />
                  <NotificationCenterItemDescription>
                    No heartbeat for 15 minutes. Traffic fails over to wallarm-node-1.
                  </NotificationCenterItemDescription>
                </NotificationCenterItem>
                <NotificationCenterItem unread>
                  <NotificationCenterItemTitle data-analytics-id='notification-open'>
                    Filtering rules updated
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(60)} />
                  <NotificationCenterItemDescription>
                    All nodes picked up the latest rule set. Nothing to do.
                  </NotificationCenterItemDescription>
                </NotificationCenterItem>
                <NotificationCenterItem unread>
                  <NotificationCenterItemTitle data-analytics-id='notification-open'>
                    Weekly API discovery report is ready
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(120)} />
                  <NotificationCenterItemDescription>
                    38 new endpoints this week, 5 of them handling sensitive data.
                  </NotificationCenterItemDescription>
                  <NotificationCenterItemActions>
                    <Button size='small' data-analytics-id='notification-view-report'>
                      View report
                    </Button>
                  </NotificationCenterItemActions>
                </NotificationCenterItem>
              </NotificationCenterList>
            </NotificationCenterBody>
          </TabsContent>
          <TabsContent value='read'>
            <NotificationCenterBody>
              <NotificationCenterList>
                <NotificationCenterItem>
                  <NotificationCenterItemTitle>
                    Node wallarm-node-2 is back online
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(60 * 24)} />
                  <NotificationCenterItemDescription>
                    The node reconnected and is filtering traffic again.
                  </NotificationCenterItemDescription>
                </NotificationCenterItem>
              </NotificationCenterList>
            </NotificationCenterBody>
          </TabsContent>
        </NotificationCenterTabs>
      </NotificationCenterContent>
    </NotificationCenter>
  </div>
);
```

## Usage

```tsx
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`.

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

export const ReadTab = () => (
  <div className='flex h-[720px] justify-end'>
    <NotificationCenter data-testid='notification-center'>
      <NotificationCenterTrigger />
      <NotificationCenterContent>
        <NotificationCenterHeader>
          <NotificationCenterTitle />
          <NotificationCenterHeaderActions>
            <NotificationCenterHeaderAction disabled>
              Mark all as read
            </NotificationCenterHeaderAction>
            <NotificationCenterHeaderAction asChild aria-label='Notification settings'>
              <a href='#notification-settings'>
                <Settings />
              </a>
            </NotificationCenterHeaderAction>
          </NotificationCenterHeaderActions>
        </NotificationCenterHeader>
        <NotificationCenterTabs defaultValue='read'>
          <NotificationCenterTabsList>
            <TabsTrigger value='new'>New</TabsTrigger>
            <TabsTrigger value='read'>Read</TabsTrigger>
          </NotificationCenterTabsList>
          <TabsContent value='read'>
            <NotificationCenterBody>
              <NotificationCenterList>
                <NotificationCenterItem>
                  <NotificationCenterItemTitle>
                    Apply a virtual patch to api.example.com?
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(60 * 24)} />
                  <NotificationCenterItemDescription>
                    Approved. The patch is live on all nodes.
                  </NotificationCenterItemDescription>
                </NotificationCenterItem>
                <NotificationCenterItem>
                  <NotificationCenterItemTitle>
                    New attack detected on api.example.com
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(60 * 24 * 2)} />
                  <NotificationCenterItemDescription>
                    214 SQL injection attempts from 12 IPs in the last 10 minutes.
                  </NotificationCenterItemDescription>
                </NotificationCenterItem>
                <NotificationCenterItem>
                  <NotificationCenterItemTitle>
                    Node wallarm-node-3 is offline
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(60 * 24 * 3)} />
                  <NotificationCenterItemDescription>
                    No heartbeat for 15 minutes. Traffic fails over to wallarm-node-1.
                  </NotificationCenterItemDescription>
                </NotificationCenterItem>
                <NotificationCenterItem>
                  <NotificationCenterItemTitle>
                    Weekly API discovery report is ready
                  </NotificationCenterItemTitle>
                  <NotificationCenterItemTime value={minutesAgo(60 * 24 * 7)} />
                  <NotificationCenterItemDescription>
                    38 new endpoints this week, 5 of them handling sensitive data.
                  </NotificationCenterItemDescription>
                </NotificationCenterItem>
              </NotificationCenterList>
            </NotificationCenterBody>
          </TabsContent>
        </NotificationCenterTabs>
      </NotificationCenterContent>
    </NotificationCenter>
  </div>
);
```

### 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.

```tsx
import { EmptyStateDescription, EmptyStateIllustration, EmptyStateMessage, EmptyStateTitle } from '@wallarm-org/design-system/EmptyState';
import { CheckCheck, History, Settings } from '@wallarm-org/design-system/icons';
import { NotificationCenter, NotificationCenterBody, NotificationCenterEmpty, NotificationCenterContent, NotificationCenterHeader, NotificationCenterHeaderAction, NotificationCenterHeaderActions, NotificationCenterTitle, NotificationCenterTabs, NotificationCenterTabsList, NotificationCenterTrigger } from '@wallarm-org/design-system/NotificationCenter';
import { TabsContent, TabsTrigger } from '@wallarm-org/design-system/Tabs';

export const Empty = () => (
  <div className='flex h-[400px] justify-end'>
    <NotificationCenter data-testid='notification-center'>
      <NotificationCenterTrigger />
      <NotificationCenterContent>
        <NotificationCenterHeader>
          <NotificationCenterTitle />
          <NotificationCenterHeaderActions>
            <NotificationCenterHeaderAction disabled>
              Mark all as read
            </NotificationCenterHeaderAction>
            <NotificationCenterHeaderAction asChild aria-label='Notification settings'>
              <a href='#notification-settings'>
                <Settings />
              </a>
            </NotificationCenterHeaderAction>
          </NotificationCenterHeaderActions>
        </NotificationCenterHeader>
        <NotificationCenterTabs defaultValue='new'>
          <NotificationCenterTabsList>
            <TabsTrigger value='new'>New</TabsTrigger>
            <TabsTrigger value='read'>Read</TabsTrigger>
          </NotificationCenterTabsList>
          <TabsContent value='new'>
            <NotificationCenterBody>
              <NotificationCenterEmpty>
                <EmptyStateIllustration>
                  <CheckCheck size='lg' />
                </EmptyStateIllustration>
                <EmptyStateMessage>
                  <EmptyStateTitle>You're all caught up</EmptyStateTitle>
                  <EmptyStateDescription>No new notifications.</EmptyStateDescription>
                </EmptyStateMessage>
              </NotificationCenterEmpty>
            </NotificationCenterBody>
          </TabsContent>
          <TabsContent value='read'>
            <NotificationCenterBody>
              <NotificationCenterEmpty>
                <EmptyStateIllustration>
                  <History size='lg' />
                </EmptyStateIllustration>
                <EmptyStateMessage>
                  <EmptyStateTitle>Nothing read yet</EmptyStateTitle>
                  <EmptyStateDescription>
                    Notifications you've read will show up here.
                  </EmptyStateDescription>
                </EmptyStateMessage>
              </NotificationCenterEmpty>
            </NotificationCenterBody>
          </TabsContent>
        </NotificationCenterTabs>
      </NotificationCenterContent>
    </NotificationCenter>
  </div>
);
```

### Loading

While the inbox loads, the body shows placeholder rows and the bell has no badge yet.

```tsx
import { NotificationCenter, NotificationCenterBody, NotificationCenterSkeleton, NotificationCenterContent, NotificationCenterHeader, NotificationCenterTitle, NotificationCenterTrigger } from '@wallarm-org/design-system/NotificationCenter';

export const Loading = () => (
  <div className='flex h-[400px] justify-end'>
    <NotificationCenter data-testid='notification-center'>
      <NotificationCenterTrigger />
      <NotificationCenterContent>
        <NotificationCenterHeader>
          <NotificationCenterTitle />
        </NotificationCenterHeader>
        <NotificationCenterBody>
          <NotificationCenterSkeleton />
        </NotificationCenterBody>
      </NotificationCenterContent>
    </NotificationCenter>
  </div>
);
```

### Error state

A failed load reuses `NotificationCenterEmpty` with a retry button. Tabs are optional: here the
body sits straight under the header.

```tsx
import { Button } from '@wallarm-org/design-system/Button';
import { EmptyStateActions, EmptyStateDescription, EmptyStateIllustration, EmptyStateMessage, EmptyStateTitle } from '@wallarm-org/design-system/EmptyState';
import { TriangleAlert } from '@wallarm-org/design-system/icons';
import { NotificationCenter, NotificationCenterBody, NotificationCenterEmpty, NotificationCenterContent, NotificationCenterHeader, NotificationCenterTitle, NotificationCenterTrigger } from '@wallarm-org/design-system/NotificationCenter';

export const ErrorState = () => (
  <div className='flex h-[400px] justify-end'>
    <NotificationCenter data-testid='notification-center'>
      <NotificationCenterTrigger />
      <NotificationCenterContent>
        <NotificationCenterHeader>
          <NotificationCenterTitle />
        </NotificationCenterHeader>
        <NotificationCenterBody>
          <NotificationCenterEmpty>
            <EmptyStateIllustration>
              <TriangleAlert size='lg' />
            </EmptyStateIllustration>
            <EmptyStateMessage>
              <EmptyStateTitle>Couldn't load notifications</EmptyStateTitle>
              <EmptyStateDescription>
                Something went wrong. Refresh the page or try again later.
              </EmptyStateDescription>
            </EmptyStateMessage>
            <EmptyStateActions>
              <Button variant='outline' color='neutral' data-analytics-id='notifications-retry'>
                Try again
              </Button>
            </EmptyStateActions>
          </NotificationCenterEmpty>
        </NotificationCenterBody>
      </NotificationCenterContent>
    </NotificationCenter>
  </div>
);
```

### Many items

Past 640px the list scrolls inside the body while the header and tabs stay put.

```tsx
import { NotificationCenter, NotificationCenterBody, NotificationCenterContent, NotificationCenterHeader, NotificationCenterHeaderAction, NotificationCenterHeaderActions, NotificationCenterTitle, NotificationCenterItem, 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';

export const ManyItems = () => (
  <div className='flex h-[720px] justify-end'>
    <NotificationCenter data-testid='notification-center'>
      <NotificationCenterTrigger count={MANY_NOTIFICATIONS.length} />
      <NotificationCenterContent>
        <NotificationCenterHeader>
          <NotificationCenterTitle />
          <NotificationCenterHeaderActions>
            <NotificationCenterHeaderAction>Mark all as read</NotificationCenterHeaderAction>
          </NotificationCenterHeaderActions>
        </NotificationCenterHeader>
        <NotificationCenterTabs defaultValue='new'>
          <NotificationCenterTabsList>
            <TabsTrigger value='new'>
              New <NumericBadge size='small'>{MANY_NOTIFICATIONS.length}</NumericBadge>
            </TabsTrigger>
            <TabsTrigger value='read'>Read</TabsTrigger>
          </NotificationCenterTabsList>
          <TabsContent value='new'>
            <NotificationCenterBody>
              <NotificationCenterList>
                {MANY_NOTIFICATIONS.map(notification => (
                  <NotificationCenterItem key={notification.id} unread>
                    <NotificationCenterItemTitle>{notification.title}</NotificationCenterItemTitle>
                    <NotificationCenterItemTime value={notification.createdAt} />
                    <NotificationCenterItemDescription>
                      {notification.description}
                    </NotificationCenterItemDescription>
                  </NotificationCenterItem>
                ))}
              </NotificationCenterList>
            </NotificationCenterBody>
          </TabsContent>
        </NotificationCenterTabs>
      </NotificationCenterContent>
    </NotificationCenter>
  </div>
);
```

### 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.

```tsx
import { AppShell, AppShellHeader } from '@wallarm-org/design-system/AppShell';
import { Button } from '@wallarm-org/design-system/Button';
import { ChatTrigger } from '@wallarm-org/design-system/Chat';
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';
import { TopHeader, TopHeaderActions, TopHeaderLogo, TopHeaderSeparator } from '@wallarm-org/design-system/TopHeader';
import { QuickHelpDropdown, WallarmLogo } from '../AppShell/story-content';

export const InTopHeader = () => (
  <AppShell ambient={false} className='h-[720px]'>
    <AppShellHeader>
      <TopHeader>
        <TopHeaderLogo href='/'>
          <WallarmLogo />
        </TopHeaderLogo>
        <TopHeaderActions>
          <Button variant='ghost' size='small' color='neutral'>
            Tenant Name
          </Button>
          <TopHeaderSeparator />
          <ChatTrigger />
          <NotificationCenter data-testid='notification-center'>
            <NotificationCenterTrigger count={2} />
            <NotificationCenterContent>
              <NotificationCenterHeader>
                <NotificationCenterTitle />
                <NotificationCenterHeaderActions>
                  <NotificationCenterHeaderAction>Mark all as read</NotificationCenterHeaderAction>
                  <NotificationCenterHeaderAction asChild aria-label='Notification settings'>
                    <a href='#notification-settings'>
                      <Settings />
                    </a>
                  </NotificationCenterHeaderAction>
                </NotificationCenterHeaderActions>
              </NotificationCenterHeader>
              <NotificationCenterTabs defaultValue='new'>
                <NotificationCenterTabsList>
                  <TabsTrigger value='new'>
                    New <NumericBadge size='small'>2</NumericBadge>
                  </TabsTrigger>
                  <TabsTrigger value='read'>Read</TabsTrigger>
                </NotificationCenterTabsList>
                <TabsContent value='new'>
                  <NotificationCenterBody>
                    <NotificationCenterList>
                      <NotificationCenterItem unread>
                        <NotificationCenterItemTitle>
                          New attack detected on api.example.com
                        </NotificationCenterItemTitle>
                        <NotificationCenterItemTime value={minutesAgo(3)} />
                        <NotificationCenterItemDescription>
                          214 SQL injection attempts from 12 IPs in the last 10 minutes.
                        </NotificationCenterItemDescription>
                        <NotificationCenterItemActions>
                          <Button size='small'>View attacks</Button>
                        </NotificationCenterItemActions>
                      </NotificationCenterItem>
                      <NotificationCenterItem unread>
                        <NotificationCenterItemTitle>
                          Node wallarm-node-3 is offline
                        </NotificationCenterItemTitle>
                        <NotificationCenterItemTime value={minutesAgo(22)} />
                        <NotificationCenterItemDescription>
                          No heartbeat for 15 minutes. Traffic fails over to wallarm-node-1.
                        </NotificationCenterItemDescription>
                      </NotificationCenterItem>
                    </NotificationCenterList>
                  </NotificationCenterBody>
                </TabsContent>
                <TabsContent value='read'>
                  <NotificationCenterBody>
                    <NotificationCenterList>
                      <NotificationCenterItem>
                        <NotificationCenterItemTitle>
                          Weekly API discovery report is ready
                        </NotificationCenterItemTitle>
                        <NotificationCenterItemTime value={minutesAgo(60 * 24 * 7)} />
                        <NotificationCenterItemDescription>
                          38 new endpoints this week, 5 of them handling sensitive data.
                        </NotificationCenterItemDescription>
                      </NotificationCenterItem>
                    </NotificationCenterList>
                  </NotificationCenterBody>
                </TabsContent>
              </NotificationCenterTabs>
            </NotificationCenterContent>
          </NotificationCenter>
          <QuickHelpDropdown />
        </TopHeaderActions>
      </TopHeader>
    </AppShellHeader>
  </AppShell>
);
```

### Controlled

Controlled open state: the app can close the inbox itself, for example after navigating.

```tsx
import { useState } from 'react';
import { NotificationCenter, NotificationCenterBody, NotificationCenterContent, NotificationCenterHeader, NotificationCenterHeaderAction, NotificationCenterHeaderActions, NotificationCenterTitle, NotificationCenterItem, NotificationCenterItemDescription, NotificationCenterList, NotificationCenterItemTime, NotificationCenterItemTitle, NotificationCenterTrigger } from '@wallarm-org/design-system/NotificationCenter';

export const Controlled = () => {
  const [open, setOpen] = useState(false);
  const [unread, setUnread] = useState(true);

  const handleMarkAllRead = () => setUnread(false);
  const handleItemClick = () => setUnread(false);

  return (
    <div className='flex h-[400px] justify-end'>
      <NotificationCenter data-testid='notification-center' open={open} onOpenChange={setOpen}>
        <NotificationCenterTrigger count={unread ? 1 : 0} />
        <NotificationCenterContent>
          <NotificationCenterHeader>
            <NotificationCenterTitle />
            <NotificationCenterHeaderActions>
              <NotificationCenterHeaderAction disabled={!unread} onClick={handleMarkAllRead}>
                Mark all as read
              </NotificationCenterHeaderAction>
            </NotificationCenterHeaderActions>
          </NotificationCenterHeader>
          <NotificationCenterBody>
            <NotificationCenterList>
              <NotificationCenterItem unread={unread}>
                <NotificationCenterItemTitle onClick={handleItemClick}>
                  Weekly API discovery report is ready
                </NotificationCenterItemTitle>
                <NotificationCenterItemTime value={minutesAgo(120)} />
                <NotificationCenterItemDescription>
                  38 new endpoints this week, 5 of them handling sensitive data.
                </NotificationCenterItemDescription>
              </NotificationCenterItem>
            </NotificationCenterList>
          </NotificationCenterBody>
        </NotificationCenterContent>
      </NotificationCenter>
    </div>
  );
};
```

## Props

| Prop         | Type                                     | Default               | Description                                           |
| ------------ | ---------------------------------------- | --------------------- | ----------------------------------------------------- |
| open         | `boolean \| undefined`                   |                       | Controlled open state. Omit for uncontrolled.         |
| onOpenChange | `((open: boolean) => void) \| undefined` |                       |                                                       |
| positioning  | `PositioningOptions \| undefined`        | `POSITIONING_DEFAULT` | Default: right-aligned under the bell with a 4px gap. |
| data-testid  | `string \| undefined`                    |                       |                                                       |

### NotificationCenterBody

| Prop           | Type                                                 | Default | Description                                                                                         |
| -------------- | ---------------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------- |
| title          | `string \| undefined`                                |         |                                                                                                     |
| defaultChecked | `boolean \| undefined`                               |         |                                                                                                     |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |                                                                                                     |
| autoFocus      | `boolean \| undefined`                               |         |                                                                                                     |
| id             | `string \| undefined`                                |         |                                                                                                     |
| tabIndex       | `number \| undefined`                                |         |                                                                                                     |
| rel            | `string \| undefined`                                |         |                                                                                                     |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |                                                                                                     |
| asChild        | `boolean \| undefined`                               |         | Use the provided child element as the default rendered element, combining their props and behavior. |
| data-testid    | `string \| undefined`                                |         |                                                                                                     |
| ids            | `ElementIds \| undefined`                            |         | The ids of the scroll area elements                                                                 |

### NotificationCenterEmpty

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| title          | `string \| undefined`                                |         |             |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterSkeleton

| Prop           | Type                                                 | Default | Description                 |
| -------------- | ---------------------------------------------------- | ------- | --------------------------- |
| rows           | `number \| undefined`                                | `4`     | Number of placeholder rows. |
| defaultChecked | `boolean \| undefined`                               |         |                             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |                             |
| autoFocus      | `boolean \| undefined`                               |         |                             |
| id             | `string \| undefined`                                |         |                             |
| tabIndex       | `number \| undefined`                                |         |                             |
| title          | `string \| undefined`                                |         |                             |
| rel            | `string \| undefined`                                |         |                             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |                             |
| data-testid    | `string \| undefined`                                |         |                             |

### NotificationCenterContent

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| title          | `string \| undefined`                                |         |             |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterHeaderAction

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| title          | `string \| undefined`                                |         |             |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| type           | `"button" \| "submit" \| "reset" \| undefined`       |         |             |
| disabled       | `boolean \| undefined`                               |         |             |
| name           | `string \| undefined`                                |         |             |
| value          | `string \| number \| readonly string[] \| undefined` |         |             |
| asChild        | `boolean \| undefined`                               |         |             |
| data-testid    | `string \| undefined`                                |         |             |
| loading        | `{ true: string; }`                                  |         |             |
| as             | `C \| undefined`                                     |         |             |
| fullWidth      | `{ true: string; false: string; }`                   |         |             |

### NotificationCenterHeaderActions

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterHeader

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterTitle

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterItemActions

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterItemDescription

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterItem

| Prop           | Type                                                 | Default | Description                                                                  |
| -------------- | ---------------------------------------------------- | ------- | ---------------------------------------------------------------------------- |
| unread         | `boolean \| undefined`                               | `false` | Shows the unread dot and prefixes the title's accessible name with "Unread". |
| defaultChecked | `boolean \| undefined`                               |         |                                                                              |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |                                                                              |
| autoFocus      | `boolean \| undefined`                               |         |                                                                              |
| id             | `string \| undefined`                                |         |                                                                              |
| tabIndex       | `number \| undefined`                                |         |                                                                              |
| title          | `string \| undefined`                                |         |                                                                              |
| rel            | `string \| undefined`                                |         |                                                                              |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |                                                                              |
| data-testid    | `string \| undefined`                                |         |                                                                              |

### NotificationCenterList

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### NotificationCenterItemTime

| Prop           | Type                                                 | Default | Description                              |
| -------------- | ---------------------------------------------------- | ------- | ---------------------------------------- |
| value \*       | `string \| number \| Date`                           |         | ISO string, Date or Unix timestamp (ms). |
| title          | `string \| undefined`                                |         |                                          |
| defaultChecked | `boolean \| undefined`                               |         |                                          |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |                                          |
| autoFocus      | `boolean \| undefined`                               |         |                                          |
| id             | `string \| undefined`                                |         |                                          |
| tabIndex       | `number \| undefined`                                |         |                                          |
| rel            | `string \| undefined`                                |         |                                          |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |                                          |
| data-testid    | `string \| undefined`                                |         |                                          |

### NotificationCenterItemTitle

| Prop           | Type                                                 | Default | Description                                                                            |
| -------------- | ---------------------------------------------------- | ------- | -------------------------------------------------------------------------------------- |
| asChild        | `boolean \| undefined`                               | `false` | Render your own element, e.g. a router link or `<a href>`.                             |
| closeOnClick   | `boolean \| undefined`                               | `true`  | Close the popover after `onClick`. Call `event.preventDefault()` to keep it open once. |
| disabled       | `boolean \| undefined`                               |         |                                                                                        |
| name           | `string \| undefined`                                |         |                                                                                        |
| type           | `"button" \| "submit" \| "reset" \| undefined`       |         |                                                                                        |
| value          | `string \| number \| readonly string[] \| undefined` |         |                                                                                        |
| defaultChecked | `boolean \| undefined`                               |         |                                                                                        |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |                                                                                        |
| autoFocus      | `boolean \| undefined`                               |         |                                                                                        |
| id             | `string \| undefined`                                |         |                                                                                        |
| tabIndex       | `number \| undefined`                                |         |                                                                                        |
| title          | `string \| undefined`                                |         |                                                                                        |
| rel            | `string \| undefined`                                |         |                                                                                        |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |                                                                                        |
| data-testid    | `string \| undefined`                                |         |                                                                                        |

### NotificationCenterTabs

| Prop          | Type                                     | Default | Description |
| ------------- | ---------------------------------------- | ------- | ----------- |
| defaultValue  | `string \| undefined`                    |         |             |
| onChange      | `((value: string) => void) \| undefined` |         |             |
| value         | `string \| undefined`                    |         |             |
| data-testid   | `string \| undefined`                    |         |             |
| lazyMount     | `boolean \| undefined`                   |         |             |
| unmountOnExit | `boolean \| undefined`                   |         |             |

### NotificationCenterTrigger

| Prop           | Type                                                 | Default         | Description                                                        |
| -------------- | ---------------------------------------------------- | --------------- | ------------------------------------------------------------------ |
| count          | `number \| undefined`                                | `0`             | Unread count. `0` hides the badge; above 99 the badge shows `99+`. |
| label          | `string \| undefined`                                | `Notifications` | Tooltip text and the base of the accessible name.                  |
| title          | `string \| undefined`                                |                 |                                                                    |
| defaultChecked | `boolean \| undefined`                               |                 |                                                                    |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |                 |                                                                    |
| autoFocus      | `boolean \| undefined`                               |                 |                                                                    |
| id             | `string \| undefined`                                |                 |                                                                    |
| tabIndex       | `number \| undefined`                                |                 |                                                                    |
| rel            | `string \| undefined`                                |                 |                                                                    |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |                 |                                                                    |
| type           | `"button" \| "submit" \| "reset" \| undefined`       |                 |                                                                    |
| disabled       | `boolean \| undefined`                               |                 |                                                                    |
| name           | `string \| undefined`                                |                 |                                                                    |
| value          | `string \| number \| readonly string[] \| undefined` |                 |                                                                    |
| data-testid    | `string \| undefined`                                |                 |                                                                    |

## Explorer

