{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "chat-top-bar",
  "type": "registry:block",
  "description": "Chat top bar with mode switch",
  "files": [
    {
      "path": "registry/predict/app/chat/chat-top-bar.tsx",
      "content": "\"use client\"\n\nimport { PlusIcon } from \"lucide-react\"\n\nimport { ChatIconButton, ChatModeSwitch, ChatTopBar } from \"@workspace/ui/predict/app/chat\"\n\nexport function ChatTopBarDemo() {\n  return (\n    <div className=\"w-[402px] max-w-full overflow-hidden rounded-[35px] bg-background pb-6 text-foreground ring-1 ring-foreground/10\">\n      <ChatTopBar\n        center={<ChatModeSwitch />}\n        end={\n          <ChatIconButton aria-label=\"New chat\">\n            <PlusIcon size={20} strokeWidth={1} absoluteStrokeWidth />\n          </ChatIconButton>\n        }\n      />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}