Home > Mobile >  Is there any way I can use @mui/material in Angular?
Is there any way I can use @mui/material in Angular?

Time:01-25

I wanted to use npm install @mui/material but in Angular. Not sure if this is going to work. I am new to Angular too. If we can't use mui in Angular, is there any specific angular library to use that provides Material UI?

CodePudding user response:

Yea you can't use React dedicated library in an Angular project, their just not compatible. However Angular does have Material design based library: https://material.angular.io/

Follow getting started instructions to add it to your project: https://material.angular.io/guide/getting-started

Then pick a component you would like to add. Follow the API docs to make the right imports. Paste an example in your project to get you started. https://material.angular.io/components/input/api

  •  Tags:  
  • Related