# EuiNotificationItemV2Component

**Type:** component



Enhanced individual notification item component (v2) displaying a single notification with read/unread status and actions.
Renders notification content with icon, label, date, and optional mark as read button.
Supports internal and external links with visual indicators for unread and important notifications.
Emits events for item clicks and mark as read actions to parent notification panel.
Improved version with enhanced styling and behavior compared to EuiNotificationItemComponent.


**Selector:** `eui-notification-item-v2`

## Inputs
- **dateFormat**: `string` - Date format string for displaying the notification timestamp. Accepts any valid Angular DatePipe format pattern.
- **isShowMarkAsRead**: `boolean` - Shows the mark as read action button on the notification item. When false, hides the mark as read functionality.
- **item**: `UxLinkLegacy<NotificationMetadata>` - Notification item data containing label, metadata, and link information. Must conform to UxLinkLegacy<NotificationMetadata> interface with id, label, and metadata properties. Required for notification display.
- **markAsReadLabel**: `string` - Custom label text for the mark as read button. When null, uses default translation key. Optional.

## Outputs
- **itemClick**: `EventEmitter<UxLinkLegacy>` - Emitted when the notification item is clicked. Payload: UxLinkLegacy - the clicked notification item with metadata Triggered when user clicks anywhere on the notification item.
- **itemMarkAsRead**: `EventEmitter<UxLinkLegacy>` - Emitted when the mark as read button is clicked. Payload: UxLinkLegacy - the notification item marked as read Triggered when user clicks the mark as read action button. Automatically sets item.metadata.read to true.
