---
id: Checkbox
section: components
cssPrefix: pf-c-check
propComponents: ['Checkbox']
---

import './checkbox.css';

## Examples

### Controlled

```ts file='./CheckboxControlled.tsx'
```

### Uncontrolled

```ts file='./CheckboxUncontrolled.tsx'
```

### Disabled

```ts file='./CheckboxDisabled.tsx'
```

### Checkbox with description

```ts file='./CheckboxWithDescription.tsx'
```

### Checkbox with body

```ts file='./CheckboxWithBody.tsx'
```

### Checkbox with description and body

```ts file='./CheckboxWithDescriptionBody.tsx'
```

### Standalone input

```ts file='./CheckboxStandaloneInput.tsx'
```

### Required input

```ts file='./CheckboxRequired.tsx'
```
