Skip to main content

angular material - How to use Navigation List

app.component.html

<h2 style="padding-top:25px; padding-bottom:16px;">
  Angular Material - How to use Navigation List
</h2>

<mat-nav-list>
  <a mat-list-item href="#">Home</a>
  <a mat-list-item href="#">About</a>
  <a mat-list-item href="#">Service</a>
  <a mat-list-item href="#">Help</a>
  <a mat-list-item href="#">Contact</a>
</mat-nav-list>
app.module.ts [import]

import { MatListModule } from '@angular/material/list'
More Angular tutorials