Message
Group the author, time, and text of a message.
alpina-ui/ui/messageUsage 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.
| Key | Action |
|---|---|
| — | 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
npx --no-install alpina add message