|
1 |
| -<button mat-button>Click me!</button> |
| 1 | +<section> |
| 2 | + <div class="example-label">Basic</div> |
| 3 | + <div class="example-button-row"> |
| 4 | + <button mat-button>Basic</button> |
| 5 | + <button mat-button color="primary">Primary</button> |
| 6 | + <button mat-button color="accent">Accent</button> |
| 7 | + <button mat-button color="warn">Warn</button> |
| 8 | + <button mat-button disabled>Disabled</button> |
| 9 | + <a mat-button href="https://www.google.com/" target="_blank">Link</a> |
| 10 | + </div> |
| 11 | +</section> |
| 12 | +<mat-divider></mat-divider> |
| 13 | +<section> |
| 14 | + <div class="example-label">Raised</div> |
| 15 | + <div class="example-button-row"> |
| 16 | + <button mat-raised-button>Basic</button> |
| 17 | + <button mat-raised-button color="primary">Primary</button> |
| 18 | + <button mat-raised-button color="accent">Accent</button> |
| 19 | + <button mat-raised-button color="warn">Warn</button> |
| 20 | + <button mat-raised-button disabled>Disabled</button> |
| 21 | + <a mat-raised-button href="https://www.google.com/" target="_blank">Link</a> |
| 22 | + </div> |
| 23 | +</section> |
| 24 | +<mat-divider></mat-divider> |
| 25 | +<section> |
| 26 | + <div class="example-label">Stroked</div> |
| 27 | + <div class="example-button-row"> |
| 28 | + <button mat-stroked-button>Basic</button> |
| 29 | + <button mat-stroked-button color="primary">Primary</button> |
| 30 | + <button mat-stroked-button color="accent">Accent</button> |
| 31 | + <button mat-stroked-button color="warn">Warn</button> |
| 32 | + <button mat-stroked-button disabled>Disabled</button> |
| 33 | + <a mat-stroked-button href="https://www.google.com/" target="_blank">Link</a> |
| 34 | + </div> |
| 35 | +</section> |
| 36 | +<mat-divider></mat-divider> |
| 37 | +<section> |
| 38 | + <div class="example-label">Flat</div> |
| 39 | + <div class="example-button-row"> |
| 40 | + <button mat-flat-button>Basic</button> |
| 41 | + <button mat-flat-button color="primary">Primary</button> |
| 42 | + <button mat-flat-button color="accent">Accent</button> |
| 43 | + <button mat-flat-button color="warn">Warn</button> |
| 44 | + <button mat-flat-button disabled>Disabled</button> |
| 45 | + <a mat-flat-button href="https://www.google.com/" target="_blank">Link</a> |
| 46 | + </div> |
| 47 | +</section> |
| 48 | +<mat-divider></mat-divider> |
| 49 | +<section> |
| 50 | + <div class="example-label">Icon</div> |
| 51 | + <div class="example-button-row"> |
| 52 | + <div class="example-flex-container"> |
| 53 | + <button mat-icon-button aria-label="Example icon button with a vertical three dot icon"> |
| 54 | + <mat-icon>more_vert</mat-icon> |
| 55 | + </button> |
| 56 | + <button mat-icon-button color="primary" aria-label="Example icon button with a home icon"> |
| 57 | + <mat-icon>home</mat-icon> |
| 58 | + </button> |
| 59 | + <button mat-icon-button color="accent" aria-label="Example icon button with a menu icon"> |
| 60 | + <mat-icon>menu</mat-icon> |
| 61 | + </button> |
| 62 | + <button mat-icon-button color="warn" aria-label="Example icon button with a heart icon"> |
| 63 | + <mat-icon>favorite</mat-icon> |
| 64 | + </button> |
| 65 | + <button mat-icon-button disabled aria-label="Example icon button with a open in new tab icon"> |
| 66 | + <mat-icon>open_in_new</mat-icon> |
| 67 | + </button> |
| 68 | + </div> |
| 69 | + </div> |
| 70 | +</section> |
| 71 | +<mat-divider></mat-divider> |
| 72 | +<section> |
| 73 | + <div class="example-label">FAB</div> |
| 74 | + <div class="example-button-row"> |
| 75 | + <div class="example-flex-container"> |
| 76 | + <div class="example-button-container"> |
| 77 | + <button mat-fab color="primary" aria-label="Example icon button with a delete icon"> |
| 78 | + <mat-icon>delete</mat-icon> |
| 79 | + </button> |
| 80 | + </div> |
| 81 | + <div class="example-button-container"> |
| 82 | + <button mat-fab color="accent" aria-label="Example icon button with a bookmark icon"> |
| 83 | + <mat-icon>bookmark</mat-icon> |
| 84 | + </button> |
| 85 | + </div> |
| 86 | + <div class="example-button-container"> |
| 87 | + <button mat-fab color="warn" aria-label="Example icon button with a home icon"> |
| 88 | + <mat-icon>home</mat-icon> |
| 89 | + </button> |
| 90 | + </div> |
| 91 | + <div class="example-button-container"> |
| 92 | + <button mat-fab disabled aria-label="Example icon button with a heart icon"> |
| 93 | + <mat-icon>favorite</mat-icon> |
| 94 | + </button> |
| 95 | + </div> |
| 96 | + </div> |
| 97 | + </div> |
| 98 | +</section> |
| 99 | +<mat-divider></mat-divider> |
| 100 | +<section> |
| 101 | + <div class="example-label">Mini FAB</div> |
| 102 | + <div class="example-button-row"> |
| 103 | + <div class="example-flex-container"> |
| 104 | + <div class="example-button-container"> |
| 105 | + <button mat-mini-fab color="primary" aria-label="Example icon button with a menu icon"> |
| 106 | + <mat-icon>menu</mat-icon> |
| 107 | + </button> |
| 108 | + </div> |
| 109 | + <div class="example-button-container"> |
| 110 | + <button mat-mini-fab color="accent" aria-label="Example icon button with a plus one icon"> |
| 111 | + <mat-icon>plus_one</mat-icon> |
| 112 | + </button> |
| 113 | + </div> |
| 114 | + <div class="example-button-container"> |
| 115 | + <button mat-mini-fab color="warn" aria-label="Example icon button with a filter list icon"> |
| 116 | + <mat-icon>filter_list</mat-icon> |
| 117 | + </button> |
| 118 | + </div> |
| 119 | + <div class="example-button-container"> |
| 120 | + <button mat-mini-fab disabled aria-label="Example icon button with a home icon"> |
| 121 | + <mat-icon>home</mat-icon> |
| 122 | + </button> |
| 123 | + </div> |
| 124 | + </div> |
| 125 | + </div> |
| 126 | +</section> |
0 commit comments