UNPKG

@arolariu/components

Version:

🎨 60+ beautiful, accessible React components built on Radix UI. TypeScript-first, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡

15 lines (14 loc) • 595 B
"use client"; import { jsx } from "react/jsx-runtime"; import "react"; import { Root } from "@radix-ui/react-label"; import { cn } from "../../lib/utils.js"; function Label({ className, ...props }) { return /*#__PURE__*/ jsx(Root, { "data-slot": "label", className: cn("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className), ...props }); } export { Label }; //# sourceMappingURL=label.js.map