Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

References

Example

Usage

Structure

<mat-radio-group>
  <label>Radio Group Label</label>
  <mat-radio-button value="1">Option 1</mat-radio-button>
  <mat-radio-button value="2">Option 2</mat-radio-button>
  <mat-radio-button value="3">Option 3</mat-radio-button>
</mat-radio-group>Usage

Container

  • Every radio button group should have a mat-radio-group 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-radio for all instances of <input type="radio">

  • No labels