1
yarn add @angular/material @angular/cdk @angular/animations

app.module.ts

import { MatSliderModule } from ‘@angular/material/slider’;

import ‘hammerjs’;

@NgModule ({….

imports: […,

MatSliderModule,

…]

})

app.component.html

styles.css

@import ‘@angular/material/prebuilt-themes/deeppurple-amber.css’;

https://material.angular.io/

https://material.angular.cn/guides

https://github.com/stbui/angular-material-app/tree/master/src/app

https://material.io/

https://material.angular.io/components/categories