angular material tutorial code example

Example 1: install angular material

ng add @angular/material

Example 2: angular npm angular material

npm i @angular/material

Example 3: ng add @angular/material

npm install --save @angular/material @angular/cdk @angular/animations

Example 4: Angular material design

/* Answer to: "Angular material design" */

/*
  Angular Material is a UI component library for Angular JS
  developers. Angular Material components help in constructing
  attractive, consistent, and functional web pages and web
  applications while adhering to modern web design principles like
  browser portability, device independence, and graceful degradation.
  
  Main Website: https://material.angular.io/
  
  Get started here: https://material.angular.io/guide/getting-started
  
  For examples on usage of this library go to:
  https://material.angular.io/components/
*/