{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "streaming-message",
  "type": "registry:ui",
  "title": "Streaming message",
  "description": "Chat message bubble that renders partial AI output with a blinking caret at the end, for showing token-by-token streaming responses in a Tailwind chat UI.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/streaming-cursor.json",
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/streaming-message.tsx",
      "type": "registry:ui",
      "target": "components/ui/streaming-message.tsx",
      "content": "\"use client\"\nimport { cn } from \"@/lib/utils\"\nimport { StreamingCursor } from \"@/components/ui/streaming-cursor\"\n\nfunction StreamingMessage({\n  content = \"Raising the Premium bar with a living OS mock and client pitch kit…\",\n  className,\n}: {\n  content?: string\n  className?: string\n}) {\n  return (\n    <div data-slot=\"streaming-message\" className={cn(\"rounded-2xl border border-border bg-sunken px-4 py-3 text-sm leading-[1.55] text-fg\", className)}>\n      {content}\n      <StreamingCursor />\n    </div>\n  )\n}\nexport { StreamingMessage }\n"
    }
  ]
}
