# Checkbox
Checkbox is an extension to standard checkbox element with theming.
## Installation
Shadcn CLI
Manual
```bash
npx shadcn@latest add https://primereact.dev/r/checkbox.json
```
Copy and paste the following code into your project
Update the import paths to match your project setup.
## Usage
```tsx
import { Checkbox } from '@/components/ui/checkbox';
```
```tsx
```
## Examples
### Basic
### Indeterminate
Use the `indeterminate` property to display an indeterminate state.
### Sizes
Use the `size` property to change the size of a checkbox.
### Filled
Specify the `filled` property to display the component with a higher visual emphasis than the default outlined style.
### Disabled
Use the `disabled` property to disable a checkbox.
### Invalid
Specify the `invalid` property to display the component with a red border.