app.component.html
<h2 style="padding-top:25px; padding-bottom:16px;">
Angular Material - List items separator
</h2>
<mat-list>
<mat-list-item>JavaScript</mat-list-item>
<mat-divider></mat-divider>
<mat-list-item>CSS</mat-list-item>
<mat-divider></mat-divider>
<mat-list-item>HTML</mat-list-item>
<mat-divider></mat-divider>
<mat-list-item>Python</mat-list-item>
<mat-divider></mat-divider>
<mat-list-item>SQL</mat-list-item>
<mat-divider></mat-divider>
<mat-list-item>Java</mat-list-item>
</mat-list>
app.module.ts [import]
import { MatListModule } from '@angular/material/list'
import { MatDividerModule } from '@angular/material/divider'
- angular material - How to use Accordion
- angular material - How to use Expansion Panel
- angular material - Open Accordion multiple panels at once
- angular material - Action bar inside an Expansion Panel
- angular material - Expansion Panel opened & closed event
- angular material - How to use Accordion flat display mode
- angular material - Open & close Expansion Panel on button click
- angular material - Expansion Panel afterExpand & afterCollapse event
- angular material - How to initially expand Expansion Panel
- angular material - Expansion Panel header expanded background color
- angular material - Accordion expanded panels header background color
- angular material - How to use List
- angular material - How to generate List items from array
- angular material - How to use List dense layout mode
- angular material - How to use Navigation List