{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-32",
  "type": "registry:component",
  "registryDependencies": [
    "https://coss.com/origin/r/input.json"
  ],
  "files": [
    {
      "path": "registry/default/components/comp-32.tsx",
      "content": "import { useId } from \"react\";\n\nimport { Input } from \"@/registry/default/ui/input\";\n\nexport default function Component() {\n  const id = useId();\n  return (\n    <div className=\"group relative\">\n      <label\n        className=\"-translate-y-1/2 absolute top-1/2 block origin-start cursor-text px-1 text-muted-foreground/70 text-sm transition-all group-focus-within:pointer-events-none group-focus-within:top-0 group-focus-within:cursor-default group-focus-within:font-medium group-focus-within:text-foreground group-focus-within:text-xs has-[+input:not(:placeholder-shown)]:pointer-events-none has-[+input:not(:placeholder-shown)]:top-0 has-[+input:not(:placeholder-shown)]:cursor-default has-[+input:not(:placeholder-shown)]:font-medium has-[+input:not(:placeholder-shown)]:text-foreground has-[+input:not(:placeholder-shown)]:text-xs\"\n        htmlFor={id}\n      >\n        <span className=\"inline-flex bg-background px-2\">\n          Input with label animation\n        </span>\n      </label>\n      <Input id={id} placeholder=\" \" type=\"email\" />\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "tags": [
      "input",
      "label"
    ]
  }
}