Skip to main content
Version: Next

Checkbox

Use Checkbox for binary selection. The React wrapper maps directly to ui-checkbox.

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

function Preferences() {
return (
<Checkbox indeterminate preset="admin" onCheckedChange={(checked) => console.log(checked)}>
Review required
</Checkbox>
);
}

Supported Props

checked, disabled, indeterminate, loading, headless, invalid, density, preset, onCheckedChange, onChange, onInput

Notes

  • Use children for the visible label content.