Skip to content
Binary UIKit reference Stable

Message

Presentation for user, assistant, tool, and system messages with consumer-rendered content and actions.

Use Message to identify the author or event role with a required label. Render rich content and actions through consumer-owned snippets. Keep tool and system output distinct from assistant prose.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
actionsSnippetsnippetNoundefined
avatarSnippetsnippetNoundefined
contentSnippetsnippetYes
labelstringpropYes
messageIdstringpropYes
metadataSnippetsnippetNoundefined
roleMessageRolepropYes

Examples

Source

Loading source