Ai-chat Pro 1: chat with a document panelPRO
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.
Installation
Once per project: add the Pro registry and your licence key.
components.json{ "registries": { "@ballmac": "https://ui.ballmac.com/r/{name}.json", "@ballmac-pro": { "url": "https://ui.ballmac.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" } } } }.env.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/ai-chat-pro-1Need a licence or help with setup?
Usage
import { AiChatPro1 } from "@/components/ballmac/blocks/ai-chat-pro-1/ai-chat-pro-1"Dependencies
Use with AI
Assistant UI with artifacts. onSend returns the reply (text, sources, tool, artifact); without it a sample reply is used. The log is a polite live region. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Ai-chat Pro 1: chat with a document panel (@ballmac-pro/ai-chat-pro-1) to this project with the shadcn MCP, then use it where it fits.
Use it for
- AI writing, analysis and coding assistants
Not for
- Simple Q and A (use ai-chat-1)
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/ai-chat-pro-1.json
Covered by the Ballmac UI Pro license.
More ai chat blocks
AI Chat 1: full chat app pane
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.
AI Chat 2: conversation with artifact panel
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.