What do you think of the new components?
ThreadedConversation.
Show nested message replies with a lightweight reply composer.
Discussion3 messages
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
messages | ThreadMessage[] | Yes | — | — | Messages with ID, author, body, time, and optional parentId. |
onReply | (parentId:string,body:string)=>void | No | — | — | Callback for user-authored replies. |
label | string | No | Discussion | — | Conversation title. |
className | string | No | — | — | Additional CSS class on the outer component element. |