Conversation

Message

One message and its parts: text, reasoning, files, tool calls and interactions, with an actions menu.

npx shadcn@latest add https://loom.mkhonta.com/r/message.json
What's still open on the Acme account?

One invoice is open: INV-0091 for $1,240.00, due December 1. Want me to send a reminder?

Tab into the conversation, move with ↑ ↓, and press Enter for a message's actions.

Usage

{chat.messages.map((message) => (
  <LoomMessageView key={message.id} message={message} />
))}

Props and details are in the docs.

Installs

  • components/loom/message.tsx
  • @ui-sdk/react@0.1.0-beta.6
  • @ui-sdk/core@0.1.0-beta.6
  • lucide-react
NextComposer →