Checkbox
Select individual options or a group of items.
Show on the desktop
Name
Role
Sam Lee
Admin
Alex Morgan
Member
Priya Shah
Member
Jules Roy
Editor
1 of 4 selected
Installation
Install the shared package once in your Exact app. This version is a beta.
bun add --exact @rightui/ui@0.4.0-beta.4
The Exact compiler requires Bun 1.4.2, regardless of which package manager installs the package.
Complete the font, app metadata and root provider setup (required for both installation methods).
Import
use Checkbox, CheckboxField, CheckboxControl, CheckboxMixed from "@rightui/ui"
Usage
Import Checkbox for a labeled boolean control, CheckboxControl for a caller-composed label, or CheckboxMixed for checked="true", "false" or "mixed". Keep state in the parent and update it through change(bool). Use CheckboxField to associate helper text or validation with the control, or make the entire option card selectable.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
CheckboxMixed.id
string
CheckboxMixed.label
string
CheckboxMixed.checked
string
CheckboxMixed.labelVisible
bool
CheckboxMixed.disabled
bool
CheckboxMixed.change
action
CheckboxField.id
string
CheckboxField.label
string
CheckboxField.checked
bool
CheckboxField.disabled
bool
CheckboxField.change
action
CheckboxField.showLabel
bool
CheckboxField.description
string
CheckboxField.card
bool
CheckboxField.invalid
bool
Checkbox.id
string
Checkbox.label
string
Checkbox.checked
bool
Checkbox.disabled
bool
Checkbox.change
action
CheckboxControl.id
string
CheckboxControl.label
string
CheckboxControl.checked
bool
CheckboxControl.disabled
bool
CheckboxControl.change
action