Checkbox

A binary selection control with an accent check mark.

Install

npx shadcn add @clearly/checkbox

Preview

Usage

import { Checkbox } from "@/components/ui/checkbox"

<Checkbox />

Every Clearly component also accepts glass (subtle·medium·strong), specular and className.

Props

PropTypeDefaultDescription
checkedbooleanControlled checked state.
defaultCheckedbooleanfalseInitial checked state.
onCheckedChange(checked: boolean) => voidChange callback.
disabledbooleanfalseDisable the control.