Import SystemMessage from @prepared911/ui/system-message.
Renders div (default) or li. Takes native div attributes except style, color, event handlers, and the reserved state attributes. tabIndex is allowed only as -1.
Prop
Type
Default
Notes
children
ReactNode
required
The event, as copy
as
"div" | "li"
"div"
Host tag
timestamp
ReactNode
Pass a Time
animated
boolean
false
Entry fade and slide
className
string
Appended after the generated classes
ref
Ref<HTMLElement>
Root element
Accessibility copy (aria-label, aria-description, title) is LocalizedMessage. data-* attributes pass through, except the reserved design-system state names.
Exports
SystemMessage, and the types SystemMessageProps and SystemMessageElement.
Props
Name
Type
Default
Description
children
ReactNode
—
The event, as copy such as "Call connected". It centers in the line and wraps.
animated
boolean
—
Fades and slides the line in when it mounts. Defaults to false; a virtualized list should leave it off.
aria-description
LocalizedMessage
—
Extended description for assistive tech.
aria-label
LocalizedMessage | DisplayValue
—
Accessible name when the visible label is insufficient.
aria-placeholder
LocalizedMessage
—
Hint for an empty control.
as
"div" | "li"
—
Host tag. Defaults to div. Use li when the transcript is a list.
className
string
—
@deprecated Pass layout through enum props and shipped parts. Request a missing case via find-pattern.
data-align
undefined
—
—
data-checked
undefined
—
—
data-copy-status
undefined
—
—
data-dirty
undefined
—
—
data-disabled
undefined
—
—
data-dragging
undefined
—
—
data-ending-style
undefined
—
—
data-expanded
undefined
—
—
data-filled
undefined
—
—
data-focus-visible
undefined
—
—
data-focused
undefined
—
—
data-highlighted
undefined
—
—
data-hovered
undefined
—
—
data-indeterminate
undefined
—
—
data-instant
undefined
—
—
data-invalid
undefined
—
—
data-is-new
undefined
—
—
data-loading
undefined
—
—
data-nested
undefined
—
—
data-open
undefined
—
—
data-orientation
undefined
—
—
data-overflow
undefined
—
—
data-placeholder
undefined
—
—
data-popup-open
undefined
—
—
data-pressed
undefined
—
—
data-readonly
undefined
—
—
data-required
undefined
—
—
data-scrolling
undefined
—
—
data-selected
undefined
—
—
data-side
undefined
—
—
data-starting-style
undefined
—
—
data-touched
undefined
—
—
data-valid
undefined
—
—
data-variant
undefined
—
—
ref
Ref<HTMLElement>
—
Ref to the root element.
tabIndex
-1
—
Only -1: a list may focus a line programmatically; a system message is not a tab stop.
timestamp
ReactNode
—
Time slot, after the text. Pass a Time element holding the localized text so the machine-readable instant stays in
dateTime. SystemMessage formats nothing.
title
LocalizedMessage | DisplayValue
—
Native tooltip; accessibility hint, not visible UI title text.
Storybook
Interactive examples and edge cases for this component are in Storybook.