{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "input",
  "type": "registry:ui",
  "title": "Input",
  "description": "Single-line text input.",
  "registryDependencies": [
    "@wibo/utils"
  ],
  "files": [
    {
      "path": "src/components/input.tsx",
      "type": "registry:ui",
      "content": "import type { ComponentProps } from \"react\";\nimport { cn } from \"@/lib/utils\";\n\n/**\n * Single-line text input. Pair it with a `Label` or a `Field`. A rounded\n * rectangle of card material (white, hairline rim, card elevation),\n * `rounded-control`, 34 px, 13 px text; the rim firms up on hover and turns\n * to the accent with a soft ring on focus.\n */\nfunction Input({ className, type, ...props }: ComponentProps<\"input\">) {\n  return (\n    <input\n      type={type}\n      data-slot=\"input\"\n      className={cn(\n        \"flex h-8.5 w-full min-w-0 rounded-control border border-input bg-card px-3 py-1 text-label text-foreground shadow-card transition-[color,border-color,box-shadow] duration-150 outline-none placeholder:text-muted-foreground hover:border-foreground/20\",\n        \"file:inline-flex file:h-5.5 file:border-0 file:bg-transparent file:text-label file:font-medium file:text-foreground\",\n        \"focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/20 focus-visible:hover:border-ring\",\n        \"disabled:cursor-not-allowed disabled:opacity-50\",\n        \"aria-invalid:border-danger aria-invalid:focus-visible:ring-danger/25\",\n        className,\n      )}\n      {...props}\n    />\n  );\n}\n\nexport { Input };\n"
    }
  ]
}
