Checkbox

v1.0.0

A binary selection control with indeterminate state support, animated checkmark transitions, accessible labeling, and error state handling.

Basic Usage

A simple checkbox with label and description. The label is clickable and the checkbox animates on state change.

You must agree before proceeding.

Receive weekly updates about product changes.

Controlled State

Control the checked state externally. The parent component manages the value and responds to changes.

Toggle the application theme.

State: unchecked

Indeterminate State

Use the <code>indeterminate</code> prop to represent a mixed selection state, commonly used in tree or list headers.

Bulk selection for batch operations.

Error State

Pass an <code>error</code> string to show destructive styling and an animated error message below the checkbox.

Please read the terms carefully.

Data handling and processing terms.

Disabled State

Set the <code>disabled</code> prop to prevent interaction and apply reduced opacity styling.

Receive email alerts for account activity.

This feature requires phone verification.

Accepted on January 15, 2025.

API Reference

Properties accepted by the binary selection control.

Property
Type
Default
Description
checkedbooleanundefinedControlled checked state of the checkbox.
defaultCheckedbooleanundefinedUncontrolled initial checked state on first render.
indeterminatebooleanfalseVisual indeterminate state for mixed selection in tree or list headers.
onCheckedChange(checked: boolean) => voidundefinedCallback triggered when the checkbox state changes.
labelReact.ReactNodeundefinedPrimary label rendered beside the checkbox control. Clickable.
descriptionReact.ReactNodeundefinedSecondary helper text rendered below the label.
errorstringundefinedError message rendered with destructive styling and animated entrance.
disabledbooleanfalseDisables interaction and applies reduced opacity styling.
© 2026 Venti UI Labs. UI made right.