{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "pin-input", "type": "registry:ui", "dependencies": ["@ark-ui/react", "lucide-react"], "files": [ { "path": "./src/components/ui/pin-input.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { type HTMLArkProps, ark } from \"@ark-ui/react/factory\"\nimport {\n PinInput as PinInputPrimitive,\n pinInputAnatomy,\n} from \"@ark-ui/react/pin-input\"\nimport { MinusIcon } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst parts = pinInputAnatomy.extendWith(\"group\", \"separator\").build()\n\nconst PinInput = React.forwardRef<\n React.ElementRef,\n PinInputPrimitive.RootProps\n>(({ children, ...props }, ref) => (\n \n {children}\n \n \n))\nPinInput.displayName = \"PinInput\"\n\nconst PinInputContext = PinInputPrimitive.Context\n\nconst PinInputControl = React.forwardRef<\n React.ElementRef,\n PinInputPrimitive.ControlProps\n>(({ className, ...props }, ref) => (\n \n))\nPinInputControl.displayName = \"PinInputControl\"\n\nconst PinInputGroup = React.forwardRef<\n React.ElementRef<\"div\">,\n HTMLArkProps<\"div\">\n>(({ className, ...props }, ref) => (\n \n))\nPinInputGroup.displayName = \"PinInputGroup\"\n\nconst PinInputInput = React.forwardRef<\n React.ElementRef,\n PinInputPrimitive.InputProps\n>(({ className, ...props }, ref) => (\n \n))\nPinInputInput.displayName = \"PinInputInput\"\n\nconst PinInputLabel = React.forwardRef<\n React.ElementRef,\n PinInputPrimitive.LabelProps\n>(({ className, ...props }, ref) => (\n \n))\nPinInputLabel.displayName = \"PinInputLabel\"\n\nconst PinInputSeparator = React.forwardRef<\n React.ElementRef<\"div\">,\n HTMLArkProps<\"div\">\n>((props, ref) => (\n \n \n \n))\nPinInputSeparator.displayName = \"PinInputSeparator\"\n\nexport {\n PinInput,\n PinInputContext,\n PinInputControl,\n PinInputGroup,\n PinInputInput,\n PinInputLabel,\n PinInputSeparator,\n}\n", "type": "registry:ui" } ] }