Usage
Chat System Message adds non-speaker context to the Chat family, such as a date divider or connection status.
import "@nordhealth/components/lib/ChatSystemMessage"
Composition
Chat System Message is a non-speaker row within Chat Message List. Its variant controls divider or status presentation, its announcement setting controls live-region behavior, and its icon and default content remain consumer-owned.
Examples
Variants and announcements
Use variant="divider" announce="off" for decorative headings such as dates. Use the default variant with announce="polite" for ordinary background changes. Reserve assertive for genuinely urgent information which must interrupt the current announcement. The icon slot can reinforce status but should not carry the only meaning.
Accessibility
Keep announced copy short and actionable. Do not announce decorative dividers, and avoid duplicating a status already announced elsewhere. Visible text remains the source of meaning in forced-colors and nonvisual use.
Templates
See this component composed into complete application views:
API reference
ChatSystemMessage
Chat System Message separates or announces conversation status updates.
<nord-chat-system-message></nord-chat-system-message>Props
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
variant | variant | Visual treatment for the system message. | ChatSystemMessageVariant | 'default' |
announce | announce | Live-region priority. Use off for decorative date dividers. | ChatSystemMessageAnnouncement | 'polite' |
Slots
| Slot name | Description |
|---|---|
Default slot | Status or divider text. |
icon | Optional leading icon. |