Themed Checkboxes

Default
Primary
Accent
Warn

mat-checkbox: Basic Example

Do you want to foobar the bazquux? - {{printResult()}}

Label position:

Pseudo checkboxes

Full appearance

Minimal appearance

Nested Checklist

Configuration

required?
label after?
checked?
disabled?
indeterminate?
disable ripple?
hide label?
aria-label
aria-labelledby None My Label
id
name
value
color primary accent warn

Result

Click action: check-indeterminate
@if (!demoHideLabel) { Checkbox w/ [checked] & (change) } @if (!demoHideLabel) { Checkbox w/ [(ngModel)] }
Click action: check
@if (!demoHideLabel) { Checkbox w/ [checked] & (change) } @if (!demoHideLabel) { Checkbox w/ [(ngModel)] }
Click action: noop
@if (!demoHideLabel) { Checkbox w/ [checked] & (change) } @if (!demoHideLabel) { Checkbox w/ [(ngModel)] }

This checkbox has special styling when using the experimental token based theme