Skip to content
GitHub

Checkbox

Control for multiple selections in a set.

You'll receive a notification when someone posts a comment

Installation

Usage

Controlled

Use the checked prop to control the checkbox.

State

Invalid

Use the invalid prop to indicate an invalid state.

Disabled

Use the disabled prop to disable the checkbox.

Examples

With Description

Use <FieldDescription /> to add a description to the checkbox.

You'll receive a notification when someone posts a comment on your post

Indeterminate

Use the checked="indeterminate" prop to set the checkbox to an indeterminate state.

Group

Use <CheckboxGroup /> to group multiple checkboxes together.

Show these items on the desktop:

Select the items you want to show on the desktop.

Card Style

Use <FieldLabel /> to add a label to the checkbox.

API Reference

Checkbox

Checkbox control for boolean or multi-select state.

CheckboxGroup

Groups related checkboxes with consistent layout.


For a complete list of props, see the Ark UI documentation.