{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "checkbox", "title": "Checkbox", "description": "A control that allows the user to toggle between checked and not checked", "dependencies": [ "@base-ui/react", "@phosphor-icons/react" ], "registryDependencies": [ "utils" ], "files": [ { "path": "registry/new-york/ui/checkbox.tsx", "content": "\"use client\"\n\nimport { Checkbox as CheckboxPrimitive } from \"@base-ui/react/checkbox\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Check } from \"@phosphor-icons/react\"\n\nfunction Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {\n return (\n \n svg]:size-3.5\"\n >\n \n \n \n )\n}\n\nexport { Checkbox }\n", "type": "registry:ui" } ], "type": "registry:ui" }