Chat Response
Streaming AI response renderer for LLM output: splits fenced code into code blocks, sets inline backtick code in mono, and has a slot for a cursor at the end of the assistant's text.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/chat-responsenpx shadcn@latest add @01orbital/chat-responseyarn dlx shadcn@latest add @01orbital/chat-responsebunx --bun shadcn@latest add @01orbital/chat-responseUsage
import { ChatResponse } from "@/components/chat/chat-response"
const TEXT = `Install the block with the CLI:
\`\`\`bash
npx shadcn add @01orbital/three-plan-pricing-01
\`\`\`
It lands with its \`Button\` and \`Card\` dependencies resolved. Fenced code gets the pinned-dark surface; inline code stays mono with no pill.`
export default function ChatResponseDemo() {
return (
<div className="w-full max-w-xl">
<ChatResponse className="text-sm/7 text-foreground" text={TEXT} />
</div>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/chat-response-demonpx shadcn@latest add @01orbital/chat-response-demoyarn dlx shadcn@latest add @01orbital/chat-response-demobunx --bun shadcn@latest add @01orbital/chat-response-demoExamples
Reconciliation Answerchat-response-reconciliation-answer
Example of the Chat Response: an answer to a bookkeeping question under a large figure, on clean white.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/chat-response-reconciliation-answernpx shadcn@latest add @01orbital/chat-response-reconciliation-answeryarn dlx shadcn@latest add @01orbital/chat-response-reconciliation-answerbunx --bun shadcn@latest add @01orbital/chat-response-reconciliation-answerTelescope Runchat-response-telescope-run
Example of the Chat Response: a dark reply with a JSON block and inline code, headed by an observatory run label.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/chat-response-telescope-runnpx shadcn@latest add @01orbital/chat-response-telescope-runyarn dlx shadcn@latest add @01orbital/chat-response-telescope-runbunx --bun shadcn@latest add @01orbital/chat-response-telescope-runRelease Reviewchat-response-release-review
Example of the Chat Response: a lilac release review combining inline code and a final status slot.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/chat-response-release-reviewnpx shadcn@latest add @01orbital/chat-response-release-reviewyarn dlx shadcn@latest add @01orbital/chat-response-release-reviewbunx --bun shadcn@latest add @01orbital/chat-response-release-reviewAPI reference
An assistant reply rendered from its text as it streams. Fenced code blocks become highlighted code panels; the prose around them stays plain, with inline code set in mono.
Prop
Type
Dependencies
npm: cn. The CLI installs it for you.
Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:
- chat-code-block
font-geist-mono
Used in blocks
7 blocks are built with Chat Response:
Assistant Welcome Prompt
Docked Chat with Voice Orb
Floating Chat Launcher Widget
Minimizable Help Dock
Research Thread with Sources
Shared Assistant Transcript
Support Chat with Bot-to-Human Handoff
Last updated on