Checkbox

Checkbox

checkbox.tsx

With Description

checkbox.tsx

API Reference

checked
boolean
Default—
onCheckedChange
(checked: boolean) => void
Default—
disabled?
boolean
Default—
indeterminate?
boolean
Default—
label?
string
Default—
description?
string

Supporting text under the label, announced as the description rather than the name.

Default—
className?
string
Default—
id?
string
Default—
aria-label?
string
Default—
aria-describedby?
string

Associates an external message (e.g. a form error) with the control.

Default—

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/checkbox
Also on React Native. A checkmark that draws itself in.

Updated