Skip to content

Chat Message Metadata

@astryxdesign/core v0.7.1 · ChatMessageMetadata

Props ​

PropTypeDefaultDescription
timestampstring—Time or other short text, at the start of the row.
footerstring—Secondary text between the timestamp and the status, such as a model name.
status'sending' | 'sent' | 'delivered' | 'read' | 'error'—Delivery state. Renders a localized icon and label. The row renders nothing when timestamp, footer, and status are all absent.

Slots ​

  • timestamp: replaces the timestamp prop. Use it to put a Timestamp component in place of plain text.
  • footer: replaces the footer prop. Use it for buttons such as copy, retry, and reactions; each control needs its own accessible name.