Skip to main content

Overview

The Notifications Primitives API provides granular components that can be used independently to build fully custom notification tool and panel interfaces. All primitives share a common set of inputs documented below; list-type primitives additionally support template forwarding via slot attributes ([listItemTemplate], [itemTemplate], [triggerTemplate]).

Common Inputs

All Notifications primitive components accept the following inputs. See NotificationsPrimitiveCommonProps for the full type definition.

Components

VeltNotificationsToolIcon

Icon displayed in the notifications tool trigger button.
Props: Common inputs only (see Common Inputs section).

VeltNotificationsToolUnreadIcon

Icon shown in the notifications tool trigger when there are unread notifications.
Props: Common inputs only (see Common Inputs section).

VeltNotificationsToolLabel

Text label displayed in the notifications tool trigger button.
Props: Common inputs only (see Common Inputs section).

VeltNotificationsToolUnreadCount

Badge showing the count of unread notifications on the tool trigger.
Props: Common inputs only (see Common Inputs section).