Checkbox

Accessible checkbox built from scratch. Supports the indeterminate state. Pair with a <label> using the standard htmlFor association.

Usage

import { Checkbox } from '@bwo-ui/react';

<label style={{ display: 'inline-flex', alignItems: 'center', gap: 10 }}>
  <Checkbox defaultChecked /> Accept terms
</label>

Props: checked, defaultChecked (accepts boolean | 'indeterminate'), onCheckedChange, disabled, name, value, required.