![]() |
VOOZH | about |
Angular Material is a UI component library that is developed by the Angular team to build design components for desktop and mobile web applications. In order to install it, we need to have angular installed in our project, once you have it you can enter the below command and can download it. <mat-divider> tag is used to separate two sections or content with a horizontal line.
Installation syntax:
ng add @angular/material
Approach:
Project Structure: It will look like the following.
π ImageCode Implementation:
app.module.ts:
app.component.html:
Output: