Skip to content
tcpsystemsui

Theme

Colour scheme
Accent
Density
Radius
Esc

ChatMessage

One transcript message: role, state, sanitized Markdown, inert tool calls, approval, citations, retry and stop.

beta

Examples

Live examples for this component are on the way.

API

Import
import ChatMessage from '@tcpsystems/ui/foundation/ChatMessage';
PropTypeDefault
message?ChatMessagenone
html?stringnone
when?(iso: string) => stringiso => iso
labels?typeof chatLabelschatLabels
HookKind
.tcp-proseRoot class
data-roleData attribute
data-statusData attribute