Notification Badge Widget
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
A reusable badge widget displayed on the Notifications tab in the bottom navigation bar showing the count of unread notifications. The badge updates in real time when new push notifications arrive and is cleared when the user visits the notifications screen.
notification-badge-widget
Responsibilities
- Display unread notification count on bottom nav tab
- Update badge count reactively on new push messages
- Clear badge count when notifications screen is visited
- Hide badge when count is zero
Interfaces
setBadgeCount(count)
clearBadge()
getBadgeCount()
listenToUnreadCount()