oks-ui

Layout & Display

Message

Chat message-thread primitives: a screen-reader-live MessageList and left/right-aligned Message bubbles with author, avatar, timestamp, delivery status, and continuation grouping.

Example

Jane Cooper
Morning! Did the Q3 numbers land?
Want to sanity-check payroll before the review.
Pushed the report an hour ago — payroll is 42.1K, matches the ledger.
Sending the CSV now.
Sam Rivera
Thanks both. Locking the deck.
👍 2
One sec — found a rounding diff on row 7

Props

author

ReactNode

Default:

Sender name. Hidden when isContinuation.

avatar

ReactNode

Default:

e.g. <Avatar />. Hidden when isContinuation.

timestamp

ReactNode

Default:

Shown by the author, or under the bubble on a continuation.

header / footer

ReactNode

Default:

Reply-to quote / reactions / attachments.

header

ReactNode

Default:

Pinned above the messages (a "load earlier" button, a date divider).