Skip to content

Message

Group the author, time, and text of a message.

alpina-ui/ui/message

Interactive preview

Marta
I’ve updated the index.
Nora
Thanks. I’ll prepare the new edition.

Usage notes

Supply a readable author and a machine-readable timestamp. The author name is isolated from surrounding bidirectional message text.

When to use

Identify one contribution to a conversation with a speaker and optional time.

When to avoid

Use a page-level Alert for a system failure outside the exchange.

Accessibility

Expose the speaker's name for every change of speaker and give timestamps a machine-readable date where available.

Keys
KeyAction
—Read in document order. The component has no keyboard command of its own.

Content

Use the actual sender name followed by a concise statement. Translate role names and keep quoted messages in their original language.

Use
Reception, 14:10 / Your appointment is confirmed.
Avoid
14:10 / Yes

Copy in four languages

German
Empfang7 characters
French
Réception9 characters
Italian
Ricezione9 characters
Romansh
Recepziun9 characters
Add to your project
npx --no-install alpina add message