Conversation
Composer
The message box: attachments, slash commands, @mentions, dictation, queued sends while the agent works, stop, and recall of the last message.
npx shadcn@latest add https://loom.mkhonta.com/r/composer.jsonUsage
<LoomComposer
chat={chat}
accept="image/*,.pdf"
commands={[{ name: "summarize", description: "Sum up the conversation" }]}
searchMentions={(query) => searchPeople(query)}
/>Props and details are in the docs.
Installs
- components/loom/composer.tsx
- @ui-sdk/react@0.1.0-beta.6
- @ui-sdk/core@0.1.0-beta.6
- lucide-react