Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example

...

Usage

Use mat-checkbox for all instances of <input type="checkbox"> on the platform.Structure

Code Block
languagehtml
<div class="mat-form-option">
  <label>Checkbox Group Label</label>
  <mat-checkbox>Option 1<mat-checkbox>
  <mat-checkbox>Option 2<mat-checkbox>
  <mat-checkbox>Option 3<mat-checkbox>
</div>

Container

  • Every checkbox should have a mat-form-option container, which formats its' content styles and spacing, and facilitates the label for a checkbox group.

Label

  • Use <label> for input labels

Input

  • Use mat-checkbox for all instances of <input type="checkbox">