import{jsx as r}from"react/jsx-runtime";import*as e from"@radix-ui/react-checkbox";import{CheckIcon as a}from"lucide-react";import{c as o}from"./utils-CMbmcP35.js";function d({className:i,...t}){return r(e.Root,{"data-slot":"checkbox",className:o("peer border-input data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",i),...t,children:r(e.Indicator,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:r(a,{className:"size-3.5"})})})}export{d as C};
