Components

Checkbox

A checkbox input with a label, available in three sizes. Built on a native <input type="checkbox"> so it inherits all standard form behaviors.

import { Checkbox } from "@empreint/ui";

<Checkbox size="md" onChange={(e) => console.log(e.target.checked)}>
	Accept terms
</Checkbox>

Props

Prop

Type

The Checkbox also accepts all standard <input> props except type and size.

CSS Variables

Prop

Type