Product Logo

Checkbox

Checkbox component with label support.

Beispiel:
import { Checkbox } from '@document-writing-tools/kernux-react';
 
<Checkbox
  label="I agree to the terms and conditions"
  required
/>

Props:

  • label: string - Required label for the checkbox
  • errorMessage?: string - Error message to display
  • Extends all standard HTML input[type=“checkbox”] element props