Components / Inputs

Checkbox nativelite

A labelled checkbox; bind checked.

A2UI basic
CheckBox
Children
none
Loading the renderer…
Checkbox rendered by the React renderer on Web
Web React
Checkbox rendered by the SwiftUI renderer on iOS
iOS SwiftUI
Checkbox rendered by the Compose renderer on Android
Android Compose
Checkbox rendered by the gpui renderer on Desktop
Desktop gpui

View exponential-ui-checkbox, painted by each native renderer.

checked
disabled
PropTypeDefaultDescription
labelrequiredbindstring–The text beside the box.
namerequiredstring–The field's key in the submitted data.
checkedbindbooleanfalseThe state; bind it.
disabledbooleanfalseShows it inert.
checks[check]–Validation rules.
NameKind
on.changeevent: runs an action
Role
checkbox
Semantics
checkbox
KeysAction
Spacetoggle
Recipe parts
Checkbox/rootCheckbox/boxCheckbox/checkCheckbox/labelCheckbox/description
Keyed by
checkeddisabled:hover:pressed:focus:disabled:checked:open:selected:invalid:dragover

Themes · Write a theme

Checkbox

A 16px rounded square that holds a TABLE's selection — the bulk-select column of an issue list and nothing else.

More

It is deliberately NOT the multi-select affordance in a picker: every option row on all four clients marks itself with the leading circle pair (ui-selected / ui-unselected), so a checkbox inside a picker would make web the only client drawing selection twice. Checked takes the primary fill under the primary foreground; indeterminate is the same box with a minus.

iOSn/a

no checkbox exists: a multi-select row draws the ui-selected / ui-unselected circle pair

Androidn/a

same as iOS — the sheet's option rows carry the circle glyph pair, never a box

Desktopok
controls::inputs::checkboxapps/desktop/crates/exponential-ui-gpui/src/controls/inputs.rs

glass box (row fill, strong stroke, radius SM), primary when checked, ui-check / ui-minus; bulk-select + checklist rows