{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "input",
  "title": "Input",
  "description": "Text input field.",
  "dependencies": [],
  "registryDependencies": ["@glasswave/glass"],
  "files": [
    {
      "path": "registry/glasswave/ui/input.tsx",
      "content": "import { forwardRef, type InputHTMLAttributes } from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport { focusRing, glass } from \"@/lib/glass\";\n\ninterface InputProps extends InputHTMLAttributes<HTMLInputElement> {}\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n  ({ className = \"\", ...props }, ref) => {\n    const baseClasses = cn(\n      glass,\n      focusRing,\n      // Gentler 12px radius (not the 32px surface radius), compact height,\n      // and lighter text — fields should read as fields, not big pills.\n      \"h-10 w-full rounded-xl px-3.5 text-sm font-normal placeholder:text-current/40\",\n      \"file:mr-3 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-current\",\n      \"disabled:cursor-not-allowed disabled:opacity-50\",\n    );\n\n    return (\n      <input ref={ref} className={cn(baseClasses, className)} {...props} />\n    );\n  },\n);\n\nInput.displayName = \"Input\";\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}
