Checkbox

A control that allows the user to toggle between checked and not checked.

<Checkbox />

Installation

pnpm add @notion-kit/shadcn

Options


Size

Use the size prop to control the size of the checkbox. The default size is "md".

<Checkbox size="xs"/><Checkbox size="sm"/><Checkbox size="md"/>

API Reference

Checkbox

PropTypeDefaultDescription
size"xs" | "sm" | "md""md"The size of the checkbox.