About
A terminal-style card for displaying an AI-generated code response with a branch/revision switcher, copy-to-clipboard button with haptic feedback, a regenerate action, and thumbs up/down rating.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds AI Response Stream to your project and fits it to your theme.
Code
How AI Response Stream is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { AiResponseStream } from "@/components/ui/ai-response-stream";
export default function AiResponseStreamDemo() {
return (
<div className="w-full min-h-screen flex items-center justify-center bg-neutral-950 p-6">
<AiResponseStream />
</div>
);
}
















