# Checkbox (@salmonui/inputs/checkbox)

> The Checkbox component of @salmonui/inputs/checkbox: Checkbox on a native &lt;input type="checkbox">, labelled by its children. Inside a CheckboxGroup it toggles its value in the group's array. ref is the input; unknown props go to the input, className / style to the root.

Canonical: https://salmonui.dev/docs/reference/inputs/checkbox/Checkbox

```ts
import { Checkbox } from '@salmonui/inputs/checkbox';
```

Entry index: https://salmonui.dev/docs/reference/inputs/checkbox (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/checkbox.md).

## Reference

Kind: component

```ts
function Checkbox(props: CheckboxProps): ReactNode;
```

Checkbox on a native `<input type="checkbox">`,
labelled by its children. Inside a `CheckboxGroup` it toggles its `value`
in the group's array. `ref` is the input; unknown props go to the input,
`className` / `style` to the root.

Props: [`CheckboxProps`](https://salmonui.dev/docs/reference/inputs/checkbox/CheckboxProps) (its members are the props)
