import * as React from "react" import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox" import { cn } from "../core/cn" interface CheckboxProps extends CheckboxPrimitive.Root.Props { label?: string indeterminate?: boolean className?: string labelClassName?: string } function Checkbox({ className, label, id, indeterminate, ...props }: CheckboxProps) { const internalId = React.useId() const checkboxId = id ?? internalId return (