React AI chat UI components for shadcn and Tailwind
Chat screens for products built on a language model: streaming replies, a panel for what the assistant made, conversation history and a composer with attachments. Replies stream in, tool calls and sources show inline, and you connect your own model.
$ pnpm dlx shadcn@latest add @ballmac/chat-1Blocks
More blocks like theseA team chat: channels and direct messages with unread counts and presence, messages grouped by person and day with a New divider, reactions, threads, @mentions that suggest people, and Retry when a message fails to send.
A complete assistant screen: collapsible conversation sidebar, model picker, messages with reasoning and tool calls, streaming replies, copy and regenerate, and a prompt with attachments.
A chat that builds things: conversation list, streaming replies, suggestion chips and a side panel with Preview and Code tabs, version history, copy and download. The panel overlays the chat on narrow screens.
A conversation with tool-call chips, numbered sources, suggestions and a model picker. Documents the assistant writes open in a side panel with a plain-text view and copy.
A support-style answer workspace: ask in plain words, watch the assistant work, read an answer where every claim points to its source, and correct or switch off what it remembers about the person.
A prompt playground that runs one prompt on two models side by side: system prompt, {{variables}} that become fields, Run with ⌘Enter, each answer with time, tokens and cost, ratings and Pick this one.
5 of these blocks are in Ballmac UI Pro.
$49 oncefor all 311 Pro blocks and every Pro template. Tax included.Works as described or your money back
Whole sites and apps
A calm, reading-first AI chat app in five pages: a chat with reasoning, sources, a document panel and a model picker, a new-chat screen, projects, a library of everything made, and settings.