{ "name": "thinking-bar", "type": "registry:ui", "registryDependencies": [ "text-shimmer" ], "dependencies": [ "lucide-react" ], "devDependencies": [], "tailwind": {}, "cssVars": { "light": {}, "dark": {} }, "description": "A component to display the thinking state of an AI model with optional actions.", "files": [ { "path": "thinking-bar.tsx", "content": "\"use client\"\n\nimport { TextShimmer } from \"@/components/prompt-kit/text-shimmer\"\nimport { cn } from \"@/lib/utils\"\nimport { ChevronRight } from \"lucide-react\"\n\ntype ThinkingBarProps = {\n className?: string\n text?: string\n onStop?: () => void\n stopLabel?: string\n onClick?: () => void\n}\n\nexport function ThinkingBar({\n className,\n text = \"Thinking\",\n onStop,\n stopLabel = \"Answer now\",\n onClick,\n}: ThinkingBarProps) {\n return (\n