"use client";
import { jsx as t } from "react/jsx-runtime";
import { cn as o } from "../../../lib/utils.js";
function l({ className: e, ...a }) {
  return (
    // biome-ignore lint/a11y/noLabelWithoutControl: Label is a generic component — the associated control is provided externally by the consumer via htmlFor or by wrapping the control as a child
    /* @__PURE__ */ t(
      "label",
      {
        className: o(
          "flex select-none items-center gap-2 font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50 group-data-[disabled=true]:pointer-events-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 group-data-disabled:opacity-50 peer-data-disabled:cursor-not-allowed peer-data-disabled:opacity-50",
          e
        ),
        "data-slot": "label",
        ...a
      }
    )
  );
}
export {
  l as Label
};
