Behive Tech Registry

Checkbox

v0.4.0

A bare checkbox control (built on Radix's `Checkbox`) — the Radix checkbox button is this component's own root element. It has no built-in label/hint/error; wrap it in `FormField` for that chrome.

pnpm add @behivetech/atoms.checkbox

Edit the code and the preview updates as you type. Every registry export is in scope — Checkbox from this package, plus React hooks and every other component in the registry.

Playground
const BasicCheckbox = () => {
  const [checked, setChecked] = useState(false);
  return (
    <Checkbox
      checked={checked}
      onCheckedChange={(val) => setChecked(val === true)}
    />
  );
};

render(<BasicCheckbox />);