Checkbox
Turns an option on or off, alone or in a group where many can be chosen.
01Anatomy
4 parts. Select a number or a name to see what each part does.
01 · Box
The square that shows the state: empty, checked, or mixed.
- Required
- Yes
- Recommended
- Common pattern: 16 to 20 px visible, with a larger target that includes the label.
02 · Check mark
A tick when checked, a dash when mixed.
- Required
- Only in some cases
- When
- Visible when checked or indeterminate.
03 · Label
Says what checking it means. Clicking it toggles the box too.
- Required
- Yes
- Recommended
- A positive statement: “Send me updates”, not “Don’t send me updates”.
04 · Description
A second line with detail or consequences.
- Required
- No
Example spacing, measured on this drawing (16 px = 1 em). A common implementation, not a rule: values change from system to system. W and H are width and height, as in Figma: Hug follows the content, Fill takes the space of the parent. The green square is the touch target: 44 × 44 px, even when the control looks smaller. That is WCAG 2.5.5 (level AAA) and Apple’s minimum; Material uses 48 dp; the WCAG AA minimum is 24 × 24 px (2.5.8).
Spacing is measured on the normal view: switch back to Normal to show it.
02Structure
- Checkboxcomponent setauto layouthorizontalgap 12
- Controlframe20 × 20
- Checkinstancevariant
- Textauto layoutvertical
- Labeltext
- Descriptiontextboolean
| Property | Type | Values |
|---|---|---|
| Checked | Variant | FalseTrueIndeterminate |
| State | Variant | DefaultHoverFocusDisabledError |
| Description | Boolean | truefalse |
| Label | Text | “Send me the newsletter” |
03States
04Variants
There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.
Proven methods for designing interfaces with AI. Every two weeks, in Italian.
Subscribe