{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "label", "title": "Label", "description": "A form label with disabled-state styling.", "dependencies": [ "clsx", "tailwind-merge" ], "registryDependencies": [ "https://ui.digital.nsw.gov.au/registry/r/theme.json" ], "files": [ { "path": "src/components/label.tsx", "content": "'use client'\n\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nfunction Label({ className, ref, ...props }: React.ComponentProps<'label'>) {\n return (\n \n )\n}\n\nexport { Label }\n\nexport type LabelProps = React.ComponentProps\n", "type": "registry:ui", "target": "components/label.tsx" }, { "path": "src/lib/utils.ts", "content": "import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n", "type": "registry:lib", "target": "lib/utils.ts" } ], "type": "registry:ui", "meta": { "nswdsVersion": "5.1.0" } }