← Components / Selection

Checkbox

Selects one or more items from a list. The indeterminate state represents a parent with partially selected children.

SwiftUIReact Native · Coming soonFlutter · Coming soon
✓–✓

Usage

SwiftUI
M3ECheckbox(isChecked: $agree)
M3ECheckbox(state: .indeterminate) { selectAll() }

API

PropertySwiftUIDescription
checkedisChecked / stateState.
errorerror: BoolError styling.

Guidelines

  • Pair every checkbox with a tappable label.