How to Build a Login UI With Angular and Material Design

This tutorial will show you how to build a beautiful login and registration UI with Angular Material. We’ll look at the various Material design components and how they can be used to bring about professional-looking applications. The complete code for this tutorial can be found in our GitHub repo.

Getting Started

We will start by creating an Angular application. Hopefully, you already have Node.js and Angular CLI installed in your working environment.

Use the following command to create a new Angular app.

# create a new Angular project under the name responsive-angular-material
ng new registration-login-angular-material

This command creates all the files needed to bootstrap an Angular application. The next step will be to add Angular Material in your application. 

cd responsive-angular-material/ 
#install angular materialng add @angular/material

Creating Components Using Angular CLI

Components in Angular are the building blocks of the application. Although you can manually create components, Angular CLI makes it very easy to automatically generate components that contain all the necessary starter code. To generate a component in Angular CLI, you simply run the following command:

Read full tutorial at code.tutsplus