{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "label",
  "title": "Label",
  "description": "A label for a control outside a Field, such as a checkbox or a switch.",
  "files": [
    {
      "path": "registry/components/kino/label.tsx",
      "content": "'use client'\n\nimport { Label as LabelPrimitive } from '@ui-sdk/react/label'\nimport type { ComponentProps } from 'react'\n\nimport { cn } from '@/lib/utils'\n\nconst labelClassName =\n  'flex items-center gap-2 text-sm leading-5 font-medium select-none group-data-disabled/field:opacity-50 peer-disabled:opacity-50 has-disabled:opacity-50'\n\n/** Names any control by its `htmlFor` or by holding it, and a press on it reaches the control. */\nfunction Label({\n  className,\n  ...props\n}: Omit<ComponentProps<typeof LabelPrimitive>, 'className'> & { className?: string }) {\n  return <LabelPrimitive className={cn(labelClassName, className)} {...props} />\n}\n\nexport { Label, labelClassName }\n",
      "type": "registry:component",
      "target": "@components/kino/label.tsx"
    }
  ],
  "type": "registry:component"
}