import { Checkbox as BaseCheckbox } from '@base-ui/react/checkbox'; import { CheckIcon } from 'lucide-react'; import { cn } from '#/lib/utils.js'; /** * A tick box, taking the border, the surface and the focus ring a text field * and a button take. The tick renders only when the box is on. * @param {{checked: boolean, onCheckedChange: (checked: boolean) => void, id?: string, disabled?: boolean, className?: string}} props */ export function Checkbox({ checked, onCheckedChange, id, disabled = false, className, }) { return ( ); }