{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "terminal",
  "files": [
    {
      "path": "registry/components/loading-ui/terminal.tsx",
      "content": "import { cn } from \"@/lib/utils\";\n\ntype TerminalProps = React.ComponentProps<\"span\"> & {\n  prompt?: string;\n};\n\nfunction Terminal({ className, prompt = \">\", style, ...props }: TerminalProps) {\n  return (\n    <>\n      <style>{`\n        @keyframes loading-ui-terminal-blink {\n          0%,\n          100% {\n            opacity: 1;\n          }\n\n          50% {\n            opacity: 0;\n          }\n        }\n      `}</style>\n      <span\n        role=\"status\"\n        className={cn(\n          \"inline-flex items-center gap-[0.25em] font-mono\",\n          className,\n        )}\n        style={style}\n        {...props}\n      >\n        <span aria-hidden=\"true\">{prompt}</span>\n        <span\n          aria-hidden=\"true\"\n          className=\"inline-block w-[0.5em] bg-current\"\n          style={{\n            height: \"1em\",\n            animation:\n              \"loading-ui-terminal-blink var(--duration, 1s) step-end infinite\",\n          }}\n        />\n        <span className=\"sr-only\">Loading</span>\n      </span>\n    </>\n  );\n}\n\nexport { Terminal };\n",
      "type": "registry:component",
      "target": ""
    }
  ],
  "type": "registry:component"
}
