Forms · 4 parts · 7 states · Basic

Checkbox

Turns an option on or off, alone or in a group where many can be chosen.

01Anatomy

Send me the newsletterOne email a month. Unsubscribe anytime.

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

02Structure

  • Checkboxcomponent setauto layouthorizontalgap 12
  • Controlframe20 × 20
  • Checkinstancevariant
  • Textauto layoutvertical
  • Labeltext
  • Descriptiontextboolean
Structure
PropertyTypeValues
CheckedVariantFalseTrueIndeterminate
StateVariantDefaultHoverFocusDisabledError
DescriptionBooleantruefalse
LabelText“Send me the newsletter”

03States

UncheckedOff. The empty box.
CheckedOn. Filled box with a tick.
IndeterminateSome, not all, of its children are checked. Typically on a parent “select all”.
HoverThe border gets stronger under the pointer, on the box or the label.
FocusReached with Tab. A ring around the box.
DisabledCan’t be changed. Its value isn’t sent.
ErrorA required box isn’t checked. The message says why it matters.

04Variants

SingleOne yes or no choice, like accepting terms.
GroupIndependent options under a shared label.
Parent and childrenA “select all” that turns indeterminate.
With descriptionA second line explains the option.

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.

Fuori Frame

Proven methods for designing interfaces with AI. Every two weeks, in Italian.

Subscribe