JSFiddle - React, Tailwind, and code Playground
by ttamminen
HTML
<form>
<label for="yourCheckboxId">Some text</label>
<input type="checkbox" id="yourCheckboxId" name="yourCheckboxName"/>
</form>
by ttamminen
<form>
<label for="yourCheckboxId">Some text</label>
<input type="checkbox" id="yourCheckboxId" name="yourCheckboxName"/>
</form>