Skip to content
roguelite labsAnthony Spezzano ↗
Prompt/MessageThread

MessageThread

Renders a list of user/assistant messages as styled chat bubbles with proper alignment.

Use and inspectUse this as a presentational interface around your own submit, stream, or state handlers. Reset preview only remounts the local example; it does not send a request or connect to a model.Next: inspect the source and wire its callback to a bounded backend action.
MessageThreadRenders a list of user/assistant messages as styled chat bubbles with proper alignment.
PropTypeDefaultDescription
messages*Message[]Array of { role, content } objects