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.jsonTab 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