{"$schema":"https://ui.shadcn.com/schema/registry-item.json","author":"Eduardo Calvo <edu@smoothui.dev>","css":{},"dependencies":["@base-ui/react"],"description":"Base UI Input primitive for SmoothUI matching FieldControl styling. Base-only.","devDependencies":[],"files":[{"content":"\"use client\";\n\nimport { Input as InputPrimitive } from \"@base-ui/react/input\";\nimport { cn } from \"@/lib/utils\";\nimport type { ComponentProps } from \"react\";\n\nexport type InputProps = Omit<\n  ComponentProps<typeof InputPrimitive>,\n  \"className\"\n> & {\n  /** Optional CSS class names */\n  className?: string;\n};\n\n/** Same surface as `FieldControl` so the two are visually interchangeable. */\nconst INPUT_CLASS =\n  \"flex h-9 w-full min-w-0 rounded-md border border-foreground/25 bg-background px-3 text-sm shadow-xs outline-none state-transition file:border-0 file:bg-transparent file:font-medium file:text-sm placeholder:text-muted-foreground/60 focus-visible:border-ring focus-ring disabled:cursor-not-allowed disabled:border-foreground/20 disabled:bg-muted disabled:text-muted-foreground disabled:placeholder:text-muted-foreground/70 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40\";\n\n/**\n * SmoothUI Input — Base UI primitive (no Radix twin; Radix has no Input).\n * Works standalone and automatically inside `Field` (label, description, error).\n */\nconst Input = ({ className, type = \"text\", ...props }: InputProps) => (\n  <InputPrimitive\n    className={cn(INPUT_CLASS, className)}\n    data-slot=\"input\"\n    type={type}\n    {...props}\n  />\n);\n\nexport default Input;\n","path":"index.tsx","target":"components/smoothui/input/index.tsx","type":"registry:ui"}],"name":"input","registryDependencies":["https://smoothui.dev/r/tokens.json"],"title":"Input","type":"registry:ui"}