Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Blocks
  2. Notifications Inbox
  3. API and Development

Notifications inbox

API and Development

View SourceOpens in a new tabSubmit IssueOpens in a new tab
Import
NotificationsInbox
NameRequiredDescription
openyesWhether the panel is shown.
onOpenChangeyesOpen or close requests from the drawer.
entriesyesNotification rows; sorted and capped in the block. An entry's optional group adds one heading per run of consecutive entries that share its id.
unreadCountyesTrigger counter value from the shell, including entries not loaded yet. Painted with the urgency ladder row of the most severe unread loaded entry.
statusyesReady, Loading, or Error.
onRetryyesRetry after Error.
onGoTo, onMarkRead, onActionyesRow handlers. Mark as read is offered on unread rows only; there is no Mark as unread or Dismiss.
hasMore, loadingMore, onLoadMorenoPaging. With hasMore, scrolling to the end calls onLoadMore once per page, up to 200 entries; loadingMore shows a loading row.
filternoControlled All or Unread.
onFilterChangenoFilter changes.
sourceGlyphsnoForwarded to each NotificationItem.
nownoISO 8601 reference instant for the "today" check; one value goes to every row. Defaults to the clock at render.
Copy propsyesSee NotificationsInboxCopyProps in the package.
childrenyesNotificationsInboxTrigger and NotificationsInboxPanel.
Parts
PartRole
NotificationsInboxTriggerOpens the drawer; optional className.
NotificationsInboxPanelDrawer surface, filter, and body; optional className.
Schema
Pattern id notifications-inbox (schema.ts). Composes drawer, button, counter, segmented-control, virtualized-list, notification-item, empty-state, skeleton, alert, and box.
Previous
Notifications inbox / Accessibility
Next
Dashboard Layout / Usage
On this page
Import
NotificationsInbox
Parts
Schema