Forms
Checkbox
Render the shared boolean checkbox control. The classic, undeniable way to say 'yes, please' or 'absolutely not'.
Curated demo
Reference
Render the shared boolean checkbox control. The classic, undeniable way to say 'yes, please' or 'absolutely not'.
- Use Checkbox for independent boolean values. Good for 'I agree to sell my soul' terms and conditions.
- Prefer Switch for immediate on/off settings that take effect right away.
- Always provide a clear label. A standalone checkbox is just a mysterious box waiting to ruin someone's day.
Example snippet
<Checkbox id="updates" label="Email me release updates" />