{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "label", "type": "registry:ui", "dependencies": ["@ark-ui/react"], "files": [ { "path": "./src/components/ui/label.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { createAnatomy } from \"@ark-ui/react/anatomy\"\nimport { type HTMLArkProps, ark } from \"@ark-ui/react/factory\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst anatomy = createAnatomy(\"label\").parts(\"root\")\nconst parts = anatomy.build()\n\nconst Label = React.forwardRef>(\n ({ className, htmlFor, children, ...props }, ref) => (\n \n {children}\n \n )\n)\nLabel.displayName = \"Label\"\n\nexport { Label }\n", "type": "registry:ui" } ] }