Notification Panel

A notification center panel that displays notification items within a work side menu, with tabs for filtering by unread, urgent, and all notifications.

Props

activeTab
GoabWorkSideNotificationActiveTabType
Sets the initially active tab.
Defaults to unread.
heading
string
Sets the panel heading text.
Defaults to Notifications.
testId
string
Sets a data-testid attribute for automated testing.
activeTab
GoabWorkSideNotificationActiveTabType
Sets the initially active tab in the notification panel.
heading
string
The heading text displayed at the top of the notification panel.
testId
string
Sets a data-testid attribute for automated testing.
active-tab
GoabWorkSideNotificationPanelTabType unread | urgent | all
Defaults to unread.
heading
string
Defaults to Notifications.
testid
string

Events

onMarkAllRead
() => void
Callback fired when the "Mark all as read" button is clicked.
onViewAll
() => void
Callback fired when the "View all" button is clicked.
onMarkAllRead
() => void
Emits when the user clicks "Mark all as read".
onViewAll
() => void
Emits when the user clicks "View all".
_markAllRead
CustomEvent<void>
_viewAll
CustomEvent<void>

Notification Item Props

description
string
The body text content of the notification card.
priority
GoabWorkSideNotificationPriority
Sets the urgency level of the notification.
Defaults to normal.
readStatus
GoabWorkSideNotificationReadStatus
Indicates whether the notification has been read or is unread.
Defaults to unread.
testId
string
Sets a data-testid attribute for automated testing.
timestamp
string
ISO timestamp string representing when the notification occurred.
title
string
Title text displayed in the notification card header.
type
GoabWorkSideNotificationItemType
Sets the visual type/style of the notification item.
Defaults to default.
description
string
The description text of the notification item.
priority
GoabWorkSideNotificationPriority
Sets the priority level of the notification.
readStatus
GoabWorkSideNotificationReadStatus
Indicates whether the notification is read or unread.
testId
string
Sets a data-testid attribute for automated testing.
timestamp
string
The timestamp for when the notification was created.
title
string
The title text of the notification item.
type
GoabWorkSideNotificationItemType
Sets the visual style of the notification item.
description
string
priority
GoabWorkSideNotificationItemPriority normal | urgent
Defaults to normal.
read-status
GoabWorkSideNotificationItemReadStatu read | unread
Defaults to unread.
testid
string
timestamp
string
title
string
type
GoabWorkSideNotificationItemType default | success | critical | warning | info
Defaults to default.

Notification Item Events

onClick
() => void
Callback fired when the notification item is clicked.
onClick
() => void
Emits when the notification item is clicked.
_click
CustomEvent<void>
_notificationItemRead
CustomEvent<{ el: unknown; readStatus: unknown }>
Examples

Workspace

Workspace

The workspace is for productivity-focused services used by service delivery staff as a daily tool to review information, manage records, and complete tasks. The design prioritizes productivity, efficiency, and accuracy so staff can move through their work quickly while ensuring the best outcome for citizens and government.
Workspaces should be adapted to fit each service's context and user needs. The reference example is a starting point to expand on, not a rigid template.

View example

No usage guidelines have been documented for this component yet.

All GoA Design System components are built to meet WCAG 2.2 AA standards. The following guidelines provide additional context for accessible implementation.

No accessibility-specific guidelines have been documented for this component yet.

View old component docs