# Checkbox
## Examples
### Default
```html
```
### States
```html
```
### WithHint
```html
```
### WithDescription
```html
```
### WithError
```html
This field is required
This field is required
```
### WithCustomContent
```html
Custom formatted label
Custom formatted hint
Custom formatted error
```
## Usage
**Use a Checkbox to:**
- Allow users to select multiple options from a set.
- Enable or disable a specific feature or setting.
- Provide a binary choice (e.g., "I agree to the terms and conditions").
- Support independent selection where multiple checkboxes can be checked simultaneously.
**Do not use a Checkbox to:**
- Perform an action immediately when selected (use a toggle switch instead).
- Represent mutually exclusive choices (use radio buttons instead).
- Select all options at once without a clear way to deselect (consider an explicit "Select All" checkbox).
## Other Considerations
- Ensure the checkbox has a label that describes its purpose.
- Labels should be concise and clearly describe the option (e.g., "Receive email notifications").
- Avoid double negatives (e.g., "Do not disable notifications").
- Group related checkboxes under a clear heading.
## Design Rationale
- Checkboxes are a familiar UI pattern, making them easy to recognize and use.
- They offer clear affordance, showing whether an option is selected or not.
- They support bulk actions and multiple selections, making them flexible for many interfaces.
- Checkboxes align with accessibility guidelines, ensuring users with disabilities can interact with