Agentic Design System
v3.5.0

Components · Forms · Checkbox

Back to Checkbox types

Checkbox

Owner: Design System Team · Version: v3.5.0

Use for agreements, multi-select lists and settings rows where more than one option can be active at once - one Checkbox component, controlled by properties, with a real tri-state (unchecked, checked, indeterminate) control underneath.

Properties

Size and label are properties of the same component, not separate checkboxes - change them below to check this control's style and states in the Live Preview. The box's own icon artwork has a fixed corner rounding baked in, so there's no separate Corner radius property.

Size
Required
Supporting text
Error

Live Preview

Both types compared side by side, each in all 6 states. One full matrix is rendered per selected Size.

When to use

Any choice where more than one option can be selected at once, or where a single agreement needs an explicit on/off toggle.

Terms agreement Select multiple Settings toggle list Bulk select in a table

Validation

A single required checkbox, like a Terms of Service agreement, has no half-checked state to catch on blur - validate it on submit instead.

Component Guide

Overview

Checkbox is a tri-state control (unchecked, checked, indeterminate) for choices where more than one option can be active at once, or for a single explicit agreement toggle - unlike Radio, which enforces exactly one choice from a set.

When to Use

  • An explicit agreement toggle - accepting terms and conditions.
  • Selecting multiple items from a list - picking several rows in a table, several tags in a filter.
  • A settings page's list of independent toggles - each one on or off without affecting the others.

When Not to Use

  • Exactly one choice from a small, fully visible set - use Radio so only one option can ever be selected.
  • An immediate, standalone on/off setting outside a form - use Switch - it applies instantly with no submit step.
  • A value chosen from a very large list - use a multi-select Select variant or Transfer instead of dozens of checkboxes.

Best Practices

  • Always show a visible label next to the box - never the checkbox alone with no text.
  • Use the indeterminate state for a "select all" checkbox that reflects a partial child selection.
  • Group related checkboxes visually, with a shared heading or fieldset, so the set of options reads as one question.

Do and Don't

Do

Email me about order updates

A label that states what checking it actually does, so the choice is clear without reading anything else.

Don't

Do not opt out of non-essential email

A double negative makes the user solve a logic puzzle to work out what checking the box means.

Accessibility

  • Uses real native checkbox semantics - checked and indeterminate are reflected in the accessibility tree, not just visually.
  • The label is clickable and programmatically linked to its input.
  • Indeterminate is set via the DOM property (not CSS alone) so assistive technology announces the partial-selection state correctly.

Related Components

Radio, Switch, Transfer (bulk multi-select across two panels), Group Button.