{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "Label",
  "dependencies": [
    "cn",
    "rescript-base-ui"
  ],
  "files": [
    {
      "path": "registry/base/ui/Label.res",
      "content": "@@jsxConfig({version: 4, mode: \"automatic\", module_: \"BaseUi.BaseUiJsxDOM\"})\n\n@@directive(\"'use client'\")\n\n@module(\"cn\")\nexternal cn: (string, option<string>) => string = \"cn\"\n\n@react.componentWithProps(BaseUi.Types.DomProps.t)\nlet make = (props: BaseUi.Types.DomProps.t) =>\n  <label\n    {...props}\n    dataSlot={props.dataSlot->Option.getOr(\"label\")}\n    className={cn(\n      \"gap-2 text-sm leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed\",\n      props.className,\n    )}\n  />\n",
      "type": "registry:file",
      "target": "@ui/Label.res"
    }
  ],
  "type": "registry:ui"
}