Checkbox
Component preview
An independent form choice that can be checked, unchecked, or sometimes indeterminate before a form is submitted.
Build pack
Choose the task and destination. Technical names stay in English.
In your own words
Documented aliases: tick box, check box, multi-select choice
Try it
Compare all three behaviors
Shared comparison scenario: A settings flow asks the user to make a choice and understand whether it is independent, exclusive, or applied immediately.
This context stays fixed. Switch concepts to observe the mission, edge case, and specimen specific to each behavior.
Checkbox
Checkbox represents an independent choice that may wait for submission; Radio group enforces one choice, while Switch applies an on or off setting immediately.
Your task
Toggle two preferences with Space, then use the parent checkbox to demonstrate the mixed state.
Edge case to verify
The Select all parent becomes indeterminate when only some child choices are checked.
Mission
Toggle two preferences with Space, then use the parent checkbox to demonstrate the mixed state.
Select a marker directly on the specimen, or use the list below, to see its role. Hide the markers to operate the lab without obstruction.
Control
The interactive element that receives input and exposes state.
Toggle a choice
Activation changes the checked state without triggering an immediate system setting.
Represent a mixed state
A parent choice can expose an indeterminate state when only some child items are selected.
Checkbox unchecked
Checkbox unchecked
Checkbox checked
Checkbox checked
Checkbox unchecked → Checkbox checked
Pointer, touch, or Space activates the unchecked independent choice.
Checkbox checked → Checkbox unchecked
Pointer, touch, or Space activates the checked independent choice again.
input[type=checkbox]
Equivalence caveat: Native checkbox semantics are retained, including form submission and the programmatic indeterminate state.
Verify binding sourceW3C WAI · standard · 2026-07-16
Claim covered: Checkbox: checkbox states, labeling, and Space-key interaction guidance.
WHATWG · standard · 2026-07-16
Claim covered: Checkbox: native input types, labeling, state, validation, and form participation.
Verified on 2026-07-16 · rev. 1