Accessibility
Checkbox from @prepared911/ui/checkbox is a Radix Checkbox rendered with a paired visible label. The primitive handles the native checkbox semantics, focus, and keyboard toggling; your job is to keep labels accurate, group related checkboxes, and surface validation errors programmatically.
role="checkbox" with aria-checked reflecting checked, unchecked, or indeterminate.htmlFor + id.aria-labelledby pointing at a heading or caption.aria-required, aria-invalid, and aria-errormessage as needed; associate the error text via id.aria-checked.aria-describedby pointing at helper or error text when present.CheckboxVisual is a non-interactive, always aria-hidden paint of the checkbox. It must not carry selection semantics alone—the parent widget owns aria-checked or aria-selected (for example MenuItemCheckbox). Do not use it as a standalone form control.