{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "input-with-animated-inset-label", "type": "registry:component", "title": "Input with Animated Inset Label", "description": "A component for inputting text with an animated inset label", "registryDependencies": [ "utils", "label" ], "files": [ { "path": "registry/default/components/input/input-with-animated-inset-label.tsx", "content": "'use client'\r\n\r\nimport { Label } from '@/registry/default/ui/label'\r\nimport { cn } from '@/lib/utils'\r\nimport { useId, useRef } from 'react'\r\n\r\nexport default function InputWithAnimatedInsetLabel() {\r\n const id = useId()\r\n const inputRef = useRef(null)\r\n\r\n const handleContainerClick = () => {\r\n inputRef.current?.focus()\r\n }\r\n\r\n return (\r\n \r\n \r\n Inset Label with Animation\r\n \r\n \r\n \r\n )\r\n}\r\n", "type": "registry:component", "target": "components/input-with-animated-inset-label.tsx" } ] }