PF6 NotificationBadge component
A bell icon with an unread count overlay, used in toolbars and mastheads to indicate new notifications.
See: https://www.patternfly.org/components/notification-badge
Construct a NotificationBadge
notificationBadge { count = 5, onClick = ToggleNotifications }Mark notifications as read (no badge highlight)
Use attention variant (danger color for urgent notifications)
Set the expanded state (e.g. when notification panel is open)
Render the NotificationBadge as an Element msg
Opaque NotificationBadge type