{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "z-onboarding-input",
  "title": "Z Onboarding Input",
  "dependencies": [
    "react-hook-form@7.63.0"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://ui.orchid.ai/r/orchid-foundation.json",
    "https://ui.orchid.ai/r/orchid-theme.json"
  ],
  "files": [
    {
      "path": "registry/ui/orchid/spectrum/atoms/z-onboarding-input/z-onboarding-input.tsx",
      "content": "\"use client\";\nimport type { UseFormRegisterReturn } from 'react-hook-form';\nimport { forwardRef } from 'react';\nimport { cn } from \"../../../lib/ui-utils\";\nexport interface ZOnboardingInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'className' | 'onChange'> {\n    value?: string;\n    onChange?: (value: string) => void;\n    register?: UseFormRegisterReturn;\n    label?: string;\n    error?: string;\n    className?: string;\n}\nconst ZOnboardingInput = forwardRef<HTMLInputElement, ZOnboardingInputProps>(({ value, onChange, register, placeholder, label, error, className, autoFocus, type = 'text', ...props }, ref) => {\n    return (<div className=\"flex w-full items-center gap-2\">\n        {label && (<span className=\"text-copy text-neutral-weak shrink-0 px-4 font-medium\">{label}</span>)}\n        <input type={type} value={register ? undefined : value} onChange={register ? undefined : onChange ? (e) => onChange(e.target.value) : undefined} placeholder={placeholder} autoFocus={autoFocus} className={cn('text-copy text-neutral placeholder:text-neutral/40 h-12 flex-1 bg-transparent px-4 font-medium outline-none', error && 'border-red-500', className)} ref={ref} {...register} {...props}/>\n      </div>);\n});\nZOnboardingInput.displayName = 'ZOnboardingInput';\nexport default ZOnboardingInput;\n",
      "type": "registry:ui",
      "target": "@ui/orchid/spectrum/atoms/z-onboarding-input/z-onboarding-input.tsx"
    }
  ],
  "type": "registry:ui"
}