Skip to content

Data Input

Checkbox

Boolean toggle with label.

import { Checkbox } from '@var-ui/react';

Checkbox

Boolean toggle with label.

Examples

Default

Demo.tsxTSX
import { Checkbox } from '@var-ui/react';

<Checkbox>Accept terms</Checkbox>

Sizes

size (sm, md, lg) scales the box, the label type and the gap between them. It falls back to the surrounding control size (InputGroup, Toolbar, Select.Root), then md.

Props

Accessibility

Built on React Aria Components where applicable.