'use client'; import { useId } from 'react'; import { Check } from 'lucide-react'; type CheckboxProps = { checked: boolean; onChange: (checked: boolean) => void; disabled?: boolean; label: string; id?: string; className?: string; }; /** * App design-system checkbox: primary fill when checked, rounded, focus-visible ring. */ export function Checkbox({ checked, onChange, disabled = false, label, id, className = '', }: CheckboxProps) { const genId = useId(); const inputId = id ?? genId; return ( ); }