Components
List
Angular Material List is a simple way to display a list of items, optionally with icons, avatars, or selection support.
Example
Below is an example of how BuilderKit restyles the Angular Material List and gives it a more modern appearance.
Basic list
List with sections
Folders
Photos
Jan 1, 2016
Recipes
Jan 17, 2016
Work
Jan 28, 2016
Notes
Vacation Itinerary
Feb 20, 2016
Kitchen Remodel
Jan 18, 2016
Selection lists
Single line list
Two line list
Three line list
Three line lust with secondary text wrapping
<mat-list>
<mat-list-item>
<mat-icon svgIcon="notebook-text" matListItemIcon />
Item 1
</mat-list-item>
<mat-list-item>
<mat-icon svgIcon="notebook-text" matListItemIcon />
Item 2
</mat-list-item>
<mat-list-item>
<mat-icon svgIcon="notebook-text" matListItemIcon />
Item 3
</mat-list-item>
</mat-list>
<mat-selection-list [multiple]="true">
@for (shoe of typesOfShoes; track shoe) {
<mat-list-option [value]="shoe">{{ shoe }}</mat-list-option>
}
</mat-selection-list>