Free components for building your own support agent — bring any backend.Want the agent too? Inflection resolves support requests inside your app.

Conversation

Chat bubble

One turn in a conversation, with a streaming caret. Takes a role and children — no message shape assumed.

Install

npx shadcn@latest add https://ui.inflection.network/r/chat-bubble.json

Pulls in utils automatically.

Usage

Where is my order?
It shipped this morning and is due Thursday.

streaming

Checking that for you

Props

NameTypeDescription
role*"user" | "assistant"Which side of the conversation this turn is.
children*ReactNodeThe turn's content. Markdown, plain text, anything.
streamingbooleanAppends a blinking caret while the reply is still arriving.Default: false
classNamestringMerged with the bubble's own classes.

* required