---
title: "Checkbox"
description: "Single checkbox input."
section: "Libraries"
group: "UI components"
order: 507
---

## Usage

```tsx
import { Checkbox, Label } from "@aeontel/ui";

<div className="flex items-center gap-2">
  <Checkbox id="terms" checked={checked} onCheckedChange={setChecked} />
  <Label htmlFor="terms">Accept terms</Label>
</div>;
```

## Exports

### `Checkbox`

Checkbox input primitive.

```ts
Checkbox(props: CheckboxPrimitive.Root.Props): JSX.Element
```
