Checkbox
A labelled checkbox; bind checked.
Group: Inputs · Kind: native · in the lite catalog
Preview
Section titled “Preview”example
checked · true
disabled · true
Platforms
Section titled “Platforms”The same specimen painted by React, SwiftUI, Compose and gpui.




| Prop | Type | Required | Bindable | Description |
|---|---|---|---|---|
label |
string |
yes | yes | The text beside the box. |
name |
string |
yes | – | The field’s key in the submitted data. |
checked |
boolean |
– | yes | The state; bind it. Default false. |
disabled |
boolean |
– | – | Shows it inert. Default false. |
checks |
[check] |
– | – | Validation rules. |
Events
Section titled “Events”on.change: runs an action
None.
Children
Section titled “Children”none
A2UI basic mapping
Section titled “A2UI basic mapping”The basic catalog’s CheckBox renders as Checkbox.
Built from
Section titled “Built from”A native component: every renderer paints it directly.
Accessibility
Section titled “Accessibility”Role: checkbox
checkbox
| Keys | Action |
|---|---|
Space |
toggle |
Theming
Section titled “Theming”Recipe parts: Checkbox/root Checkbox/box Checkbox/check Checkbox/label Checkbox/description
Keyed by: checked disabled :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover
Related
Section titled “Related”Form · FieldGroup · FormActions · Input · Textarea · NumberField · Radio · ChoiceTiles