FORMS
Checkbox & Switch
Labeled boolean rows. The input pins its own size, so host globals can never stretch it across the row.
PREVIEW
SOURCE
import { Checkbox, Switch } from '@objectifthunes/whiteboard'
<Checkbox label="Building rules" checked={rules} onChange={() => setRules(v => !v)} />
<Checkbox label="Adaptive threshold" hint="(dirty scans)" checked={adaptive} onChange={…} />
<Switch label="Dark mode" checked={dark} onChange={…} />NOTES
Both render a full-width labeled row. The input declares flex: none and its own size, so an aggressive host global like input { flex: 1 } cannot stretch the box into the middle of the row. hint renders muted, inline, after the label.