{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ui-input",
  "title": "Input and Textarea",
  "description": "A single-line input and a textarea, both with the kit's 44px minimum height. Predates the CLI-based upstream primitives and is kept as a kit item rather than switched to them; see NOTICE.md. Note: ui-input-group still composes the ui-textarea item, not this item's Textarea export.",
  "registryDependencies": [
    "@registrystack/lib-utils"
  ],
  "files": [
    {
      "path": "ui/input.tsx",
      "content": "// Adapted from shadcn/ui's Input, MIT. See blocks/NOTICE.md.\nimport type { ComponentProps } from \"react\";\nimport { cn } from \"@/blocks/lib/utils\";\nexport function Input({ className, type, ...props }: ComponentProps<\"input\">) {\n  return (\n    <input\n      type={type}\n      data-slot=\"input\"\n      className={cn(\n        \"border-input bg-background min-h-(--control-h) w-full min-w-0 rounded-md border px-3 py-0.5 text-base shadow-xs outline-none disabled:cursor-not-allowed disabled:opacity-50 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:border-destructive\",\n        className,\n      )}\n      {...props}\n    />\n  );\n}\nexport function Textarea({ className, ...props }: ComponentProps<\"textarea\">) {\n  return (\n    <textarea\n      data-slot=\"textarea\"\n      className={cn(\n        \"border-input bg-background min-h-28 w-full min-w-0 rounded-md border px-3 py-2 text-base shadow-xs outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:border-destructive\",\n        className,\n      )}\n      {...props}\n    />\n  );\n}\n",
      "type": "registry:ui",
      "target": "@ui/input.tsx"
    }
  ],
  "type": "registry:ui"
}