Notification Bell
feedbackBell icon with unread count badge that opens a notification dropdown.
Preview
No preview available
Check the code examples below.
Installation
npm install @launchapp/design-systemImport
import { NotificationBell } from "@launchapp/design-system";Examples
Notification bell with badge
<NotificationBell count={5} onClick={() => console.log("open notifications")} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
count | number | 0 | Unread notification count. |
onClick | () => void | — | Called when bell is clicked. |
maxCount | number | 99 | Maximum displayed count before showing '+'. |