|
1 |
| -<button mat-button>Click me!</button> |
| 1 | +<h3>Basic Buttons</h3> |
| 2 | +<div class="example-button-row"> |
| 3 | + <button mat-button aria-label="Example flat button">Basic</button> |
| 4 | + <button mat-button aria-label="Example flat primary colored button" color="primary">Primary</button> |
| 5 | + <button mat-button aria-label="Example flat accent colored button" color="accent">Accent</button> |
| 6 | + <button mat-button aria-label="Example flat warn colored button" color="warn">Warn</button> |
| 7 | + <button mat-button aria-label="Example flat disabled button" disabled>Disabled</button> |
| 8 | + <a mat-button aria-label="Example flat anchor button" routerLink=".">Link</a> |
| 9 | +</div> |
| 10 | + |
| 11 | +<h3>Raised Buttons</h3> |
| 12 | +<div class="example-button-row"> |
| 13 | + <button mat-raised-button aria-label="Example raised button">Basic</button> |
| 14 | + <button mat-raised-button aria-label="Example raised primary colored button" color="primary">Primary</button> |
| 15 | + <button mat-raised-button aria-label="Example raised accent colored button" color="accent">Accent</button> |
| 16 | + <button mat-raised-button aria-label="Example raised warn colored button" color="warn">Warn</button> |
| 17 | + <button mat-raised-button aria-label="Example raised disabled button" disabled>Disabled</button> |
| 18 | + <a mat-raised-button aria-label="Example raised anchor button" routerLink=".">Link</a> |
| 19 | +</div> |
| 20 | + |
| 21 | +<h3>Icon Buttons</h3> |
| 22 | +<div class="example-button-row"> |
| 23 | + <button mat-icon-button aria-label="Example icon-button with a heart icon"> |
| 24 | + <mat-icon>favorite</mat-icon> |
| 25 | + </button> |
| 26 | + <button mat-icon-button color="primary" aria-label="Example icon-button with a more vertical icon"> |
| 27 | + <mat-icon>more_vert</mat-icon> |
| 28 | + </button> |
| 29 | + <button mat-icon-button color="accent" aria-label="Example icon-button with a launch icon"> |
| 30 | + <mat-icon>launch</mat-icon> |
| 31 | + </button> |
| 32 | + <button mat-icon-button color="warn" aria-label="Example icon-button with a menu icon"> |
| 33 | + <mat-icon>menu</mat-icon> |
| 34 | + </button> |
| 35 | + <button mat-icon-button disabled aria-label="Example icon-button with a close icon"> |
| 36 | + <mat-icon>close</mat-icon> |
| 37 | + </button> |
| 38 | +</div> |
| 39 | + |
| 40 | +<h3>Fab Buttons</h3> |
| 41 | +<div class="example-button-row"> |
| 42 | + <button mat-fab aria-label="Example icon-button with a people icon"> |
| 43 | + <mat-icon>add</mat-icon> |
| 44 | + </button> |
| 45 | + <button mat-fab color="primary" aria-label="Example icon-button with a people icon"> |
| 46 | + <mat-icon>people</mat-icon> |
| 47 | + </button> |
| 48 | + <button mat-fab color="warn" aria-label="Example icon-button with a star icon"> |
| 49 | + <mat-icon>star</mat-icon> |
| 50 | + </button> |
| 51 | + <button mat-fab disabled aria-label="Example icon-button with a comment icon"> |
| 52 | + <mat-icon>comment</mat-icon> |
| 53 | + </button> |
| 54 | + <button mat-fab aria-label="Example icon-button with a cake icon"> |
| 55 | + <mat-icon>cake</mat-icon> |
| 56 | + </button> |
| 57 | +</div> |
| 58 | + |
| 59 | +<h3>Mini Fab Buttons</h3> |
| 60 | +<div class="example-button-row"> |
| 61 | + <button mat-mini-fab aria-label="Example icon-button with a people icon"> |
| 62 | + <mat-icon>add</mat-icon> |
| 63 | + </button> |
| 64 | + <button mat-mini-fab color="primary" aria-label="Example icon-button with a people icon"> |
| 65 | + <mat-icon>people</mat-icon> |
| 66 | + </button> |
| 67 | + <button mat-mini-fab color="warn" aria-label="Example icon-button with a star icon"> |
| 68 | + <mat-icon>star</mat-icon> |
| 69 | + </button> |
| 70 | + <button mat-mini-fab disabled aria-label="Example icon-button with a comment icon"> |
| 71 | + <mat-icon>comment</mat-icon> |
| 72 | + </button> |
| 73 | + <button mat-mini-fab aria-label="Example icon-button with a cake icon"> |
| 74 | + <mat-icon>cake</mat-icon> |
| 75 | + </button> |
| 76 | +</div> |
0 commit comments