angular material versions code example

Example 1: install angular cdk

npm i @angular/cdk --save

Example 2: add material library angular

ng add @angular/material

Example 3: 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/
*/