Preview the checkbox component with the React live demo. For detailed code usage documentation, see the Storybooks for each framework below.
<fieldset className="cds--fieldset"> <legend className="cds--label">Checkbox heading</legend> <Checkbox defaultChecked labelText="Checkbox label" id="checked" /> <Checkbox labelText="Checkbox label" id="checked-2" /></fieldset>